| Index: storage/browser/fileapi/sandbox_file_system_backend_delegate.h
|
| diff --git a/storage/browser/fileapi/sandbox_file_system_backend_delegate.h b/storage/browser/fileapi/sandbox_file_system_backend_delegate.h
|
| index d93badae01fbf06c49103614dccbcfe13bd990e8..dfb5678a3fa4d8613c205cba8e2c3ef462024b33 100644
|
| --- a/storage/browser/fileapi/sandbox_file_system_backend_delegate.h
|
| +++ b/storage/browser/fileapi/sandbox_file_system_backend_delegate.h
|
| @@ -20,6 +20,7 @@
|
| #include "storage/browser/fileapi/file_system_backend.h"
|
| #include "storage/browser/fileapi/file_system_options.h"
|
| #include "storage/browser/fileapi/file_system_quota_util.h"
|
| +#include "storage/browser/fileapi/task_runner_bound_observer_list.h"
|
| #include "storage/browser/storage_browser_export.h"
|
|
|
| namespace base {
|
| @@ -146,24 +147,26 @@ class STORAGE_EXPORT SandboxFileSystemBackendDelegate
|
| CreateQuotaReservationOnFileTaskRunner(
|
| const GURL& origin_url,
|
| FileSystemType type) OVERRIDE;
|
| - virtual void AddFileUpdateObserver(
|
| - FileSystemType type,
|
| - FileUpdateObserver* observer,
|
| - base::SequencedTaskRunner* task_runner) OVERRIDE;
|
| - virtual void AddFileChangeObserver(
|
| - FileSystemType type,
|
| - FileChangeObserver* observer,
|
| - base::SequencedTaskRunner* task_runner) OVERRIDE;
|
| - virtual void AddFileAccessObserver(
|
| - FileSystemType type,
|
| - FileAccessObserver* observer,
|
| - base::SequencedTaskRunner* task_runner) OVERRIDE;
|
| +
|
| + // Adds an observer for the secified |type| of a file system, bound to
|
| + // |task_runner|.
|
| + virtual void AddFileUpdateObserver(FileSystemType type,
|
| + FileUpdateObserver* observer,
|
| + base::SequencedTaskRunner* task_runner);
|
| + virtual void AddFileChangeObserver(FileSystemType type,
|
| + FileChangeObserver* observer,
|
| + base::SequencedTaskRunner* task_runner);
|
| + virtual void AddFileAccessObserver(FileSystemType type,
|
| + FileAccessObserver* observer,
|
| + base::SequencedTaskRunner* task_runner);
|
| +
|
| + // Returns observer lists for the specified |type| of a file system.
|
| virtual const UpdateObserverList* GetUpdateObservers(
|
| - FileSystemType type) const OVERRIDE;
|
| + FileSystemType type) const;
|
| virtual const ChangeObserverList* GetChangeObservers(
|
| - FileSystemType type) const OVERRIDE;
|
| + FileSystemType type) const;
|
| virtual const AccessObserverList* GetAccessObservers(
|
| - FileSystemType type) const OVERRIDE;
|
| + FileSystemType type) const;
|
|
|
| // Registers quota observer for file updates on filesystem of |type|.
|
| void RegisterQuotaUpdateObserver(FileSystemType type);
|
|
|