Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / public / test / test_file_system_backend.h
index 0025bff..d1f47e4 100644 (file)
@@ -31,46 +31,45 @@ class TestFileSystemBackend : public storage::FileSystemBackend {
   TestFileSystemBackend(
       base::SequencedTaskRunner* task_runner,
       const base::FilePath& base_path);
-  virtual ~TestFileSystemBackend();
+  ~TestFileSystemBackend() override;
 
   // FileSystemBackend implementation.
-  virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE;
-  virtual void Initialize(storage::FileSystemContext* context) OVERRIDE;
-  virtual void ResolveURL(const storage::FileSystemURL& url,
-                          storage::OpenFileSystemMode mode,
-                          const OpenFileSystemCallback& callback) OVERRIDE;
-  virtual storage::AsyncFileUtil* GetAsyncFileUtil(
-      storage::FileSystemType type) OVERRIDE;
-  virtual storage::WatcherManager* GetWatcherManager(
-      storage::FileSystemType type) OVERRIDE;
-  virtual storage::CopyOrMoveFileValidatorFactory*
-      GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type,
-                                        base::File::Error* error_code) OVERRIDE;
-  virtual storage::FileSystemOperation* CreateFileSystemOperation(
+  bool CanHandleType(storage::FileSystemType type) const override;
+  void Initialize(storage::FileSystemContext* context) override;
+  void ResolveURL(const storage::FileSystemURL& url,
+                  storage::OpenFileSystemMode mode,
+                  const OpenFileSystemCallback& callback) override;
+  storage::AsyncFileUtil* GetAsyncFileUtil(
+      storage::FileSystemType type) override;
+  storage::WatcherManager* GetWatcherManager(
+      storage::FileSystemType type) override;
+  storage::CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory(
+      storage::FileSystemType type,
+      base::File::Error* error_code) override;
+  storage::FileSystemOperation* CreateFileSystemOperation(
       const storage::FileSystemURL& url,
       storage::FileSystemContext* context,
-      base::File::Error* error_code) const OVERRIDE;
-  virtual bool SupportsStreaming(
-      const storage::FileSystemURL& url) const OVERRIDE;
-  virtual bool HasInplaceCopyImplementation(
-      storage::FileSystemType type) const OVERRIDE;
-  virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
+      base::File::Error* error_code) const override;
+  bool SupportsStreaming(const storage::FileSystemURL& url) const override;
+  bool HasInplaceCopyImplementation(
+      storage::FileSystemType type) const override;
+  scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
       const storage::FileSystemURL& url,
       int64 offset,
       int64 max_bytes_to_read,
       const base::Time& expected_modification_time,
-      storage::FileSystemContext* context) const OVERRIDE;
-  virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
+      storage::FileSystemContext* context) const override;
+  scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
       const storage::FileSystemURL& url,
       int64 offset,
-      storage::FileSystemContext* context) const OVERRIDE;
-  virtual storage::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
-  virtual const storage::UpdateObserverList* GetUpdateObservers(
-      storage::FileSystemType type) const OVERRIDE;
-  virtual const storage::ChangeObserverList* GetChangeObservers(
-      storage::FileSystemType type) const OVERRIDE;
-  virtual const storage::AccessObserverList* GetAccessObservers(
-      storage::FileSystemType type) const OVERRIDE;
+      storage::FileSystemContext* context) const override;
+  storage::FileSystemQuotaUtil* GetQuotaUtil() override;
+  const storage::UpdateObserverList* GetUpdateObservers(
+      storage::FileSystemType type) const override;
+  const storage::ChangeObserverList* GetChangeObservers(
+      storage::FileSystemType type) const override;
+  const storage::AccessObserverList* GetAccessObservers(
+      storage::FileSystemType type) const override;
 
   // Initialize the CopyOrMoveFileValidatorFactory. Invalid to call more than
   // once.
@@ -92,7 +91,6 @@ class TestFileSystemBackend : public storage::FileSystemBackend {
   base::FilePath base_path_;
   scoped_refptr<base::SequencedTaskRunner> task_runner_;
   scoped_ptr<storage::AsyncFileUtilAdapter> file_util_;
-  scoped_ptr<storage::WatcherManager> watcher_manager_;
   scoped_ptr<QuotaUtil> quota_util_;
   storage::UpdateObserverList update_observers_;
   storage::ChangeObserverList change_observers_;