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

Unified Diff: storage/browser/fileapi/file_system_quota_util.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: storage/browser/fileapi/file_system_quota_util.h
diff --git a/storage/browser/fileapi/file_system_quota_util.h b/storage/browser/fileapi/file_system_quota_util.h
index b5288ffb2b295d90ef8920941ba7b52699a1a318..0eef0ea687ab2202160e0a1df9a344ac2040c3e0 100644
--- a/storage/browser/fileapi/file_system_quota_util.h
+++ b/storage/browser/fileapi/file_system_quota_util.h
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/files/file.h"
-#include "storage/browser/fileapi/task_runner_bound_observer_list.h"
#include "storage/browser/storage_browser_export.h"
#include "storage/common/fileapi/file_system_types.h"
#include "url/gurl.h"
@@ -62,28 +61,6 @@ class STORAGE_EXPORT FileSystemQuotaUtil {
CreateQuotaReservationOnFileTaskRunner(
const GURL& origin_url,
FileSystemType type) = 0;
-
- virtual void AddFileUpdateObserver(
- FileSystemType type,
- FileUpdateObserver* observer,
- base::SequencedTaskRunner* task_runner) = 0;
- virtual void AddFileChangeObserver(
- FileSystemType type,
- FileChangeObserver* observer,
- base::SequencedTaskRunner* task_runner) = 0;
- virtual void AddFileAccessObserver(
- FileSystemType type,
- FileAccessObserver* observer,
- base::SequencedTaskRunner* task_runner) = 0;
-
- // Returns the observer list for |type|, or returns NULL if any observers
- // have not been registered on |type|.
- virtual const UpdateObserverList* GetUpdateObservers(
- FileSystemType type) const = 0;
- virtual const ChangeObserverList* GetChangeObservers(
- FileSystemType type) const = 0;
- virtual const AccessObserverList* GetAccessObservers(
- FileSystemType type) const = 0;
};
} // namespace storage
« no previous file with comments | « storage/browser/fileapi/file_system_context.cc ('k') | storage/browser/fileapi/isolated_file_system_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698