Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: webkit/browser/fileapi/sandbox_file_system_backend.h

Issue 18418009: FileAPI: Add FileObserver related interfaces into FileSystemQuotaUtil (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/browser/fileapi/sandbox_file_system_backend.h
diff --git a/webkit/browser/fileapi/sandbox_file_system_backend.h b/webkit/browser/fileapi/sandbox_file_system_backend.h
index c0f81a37878130ae92856fd23eca5f093d711f61..8711f0b0d858dc6fd57506e8ef7aabf73e14e246 100644
--- a/webkit/browser/fileapi/sandbox_file_system_backend.h
+++ b/webkit/browser/fileapi/sandbox_file_system_backend.h
@@ -130,25 +130,33 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackend
FileSystemContext* context,
const GURL& origin_url,
FileSystemType type) OVERRIDE;
-
- virtual void InvalidateUsageCache(const GURL& origin_url,
- FileSystemType type) OVERRIDE;
- virtual void StickyInvalidateUsageCache(const GURL& origin_url,
- FileSystemType type) OVERRIDE;
+ virtual void InvalidateUsageCache(
+ const GURL& origin_url,
+ FileSystemType type) OVERRIDE;
+ virtual void StickyInvalidateUsageCache(
+ 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;
+ virtual const UpdateObserverList* GetUpdateObservers(
+ FileSystemType type) const OVERRIDE;
+ virtual const ChangeObserverList* GetChangeObservers(
+ FileSystemType type) const OVERRIDE;
+ virtual const AccessObserverList* GetAccessObservers(
+ FileSystemType type) const OVERRIDE;
void CollectOpenFileSystemMetrics(base::PlatformFileError error_code);
- // Returns observers for the given type.
- const UpdateObserverList* GetUpdateObservers(FileSystemType type) const;
- const AccessObserverList* GetAccessObservers(FileSystemType type) const;
-
- void AddFileUpdateObserver(FileSystemType type,
- FileUpdateObserver* observer,
- base::SequencedTaskRunner* task_runner);
- void AddFileChangeObserver(FileSystemType type,
- FileChangeObserver* observer,
- base::SequencedTaskRunner* task_runner);
-
// Performs API-specific validity checks on the given path |url|.
// Returns true if access to |url| is valid in this filesystem.
bool IsAccessValid(const FileSystemURL& url) const;
« no previous file with comments | « webkit/browser/fileapi/file_system_quota_util.h ('k') | webkit/browser/fileapi/sandbox_file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698