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

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

Issue 18668003: SyncFS: Introduce SyncFileSystemBackend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix 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 ffd41c1694dcc0a1c56664259a6ad12ff125cacd..629cb0d861fbaa131258bf6eb451b0abd05151c4 100644
--- a/webkit/browser/fileapi/sandbox_file_system_backend.h
+++ b/webkit/browser/fileapi/sandbox_file_system_backend.h
@@ -166,6 +166,30 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackend
enable_temporary_file_system_in_incognito_ = enable;
}
+ protected:
+ SandboxContext* sandbox_context() { return sandbox_context_; }
+ void set_sandbox_context(SandboxContext* sandbox_context) {
+ sandbox_context_ = sandbox_context;
+ }
+
+ const UpdateObserverList* update_observers() const {
+ return &update_observers_;
+ }
+ void set_update_observers(const UpdateObserverList& update_observers) {
+ update_observers_ = update_observers;
+ }
+
+ const ChangeObserverList* change_observers() const {
+ return &change_observers_;
+ }
+
+ const AccessObserverList* access_observers() const {
+ return &access_observers_;
+ }
+ void set_access_observers(const AccessObserverList& access_observers) {
+ access_observers_ = access_observers;
+ }
+
private:
friend class SandboxQuotaObserver;
friend class SandboxFileSystemTestHelper;
@@ -214,10 +238,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SandboxFileSystemBackend
ChangeObserverList change_observers_;
AccessObserverList access_observers_;
- // Observers for syncable file systems.
- UpdateObserverList syncable_update_observers_;
- ChangeObserverList syncable_change_observers_;
-
base::Time next_release_time_for_open_filesystem_stat_;
std::set<std::pair<GURL, FileSystemType> > sticky_dirty_origins_;

Powered by Google App Engine
This is Rietveld 408576698