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

Unified Diff: chrome/browser/sync_file_system/local/sync_file_system_backend.h

Issue 549413003: [ew] Move operation observers from QuotaUtil to FileSystemBackend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 3 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: chrome/browser/sync_file_system/local/sync_file_system_backend.h
diff --git a/chrome/browser/sync_file_system/local/sync_file_system_backend.h b/chrome/browser/sync_file_system/local/sync_file_system_backend.h
index c2edc88642b000be390df148585f1aeaf2eb9ea3..56ca665b017c0ec3f2e1e3e11c4ebcfc50bd75b5 100644
--- a/chrome/browser/sync_file_system/local/sync_file_system_backend.h
+++ b/chrome/browser/sync_file_system/local/sync_file_system_backend.h
@@ -13,6 +13,7 @@
#include "storage/browser/fileapi/file_system_backend.h"
#include "storage/browser/fileapi/file_system_quota_util.h"
#include "storage/browser/fileapi/sandbox_file_system_backend_delegate.h"
+#include "storage/browser/fileapi/task_runner_bound_observer_list.h"
namespace sync_file_system {
@@ -57,6 +58,12 @@ class SyncFileSystemBackend : public storage::FileSystemBackend {
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;
static SyncFileSystemBackend* GetBackend(
const storage::FileSystemContext* context);

Powered by Google App Engine
This is Rietveld 408576698