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

Unified Diff: storage/browser/fileapi/file_system_context.cc

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
« no previous file with comments | « storage/browser/fileapi/file_system_backend.h ('k') | storage/browser/fileapi/file_system_quota_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/fileapi/file_system_context.cc
diff --git a/storage/browser/fileapi/file_system_context.cc b/storage/browser/fileapi/file_system_context.cc
index f42e11ae2baa4225d8eaaeb421d05392f3b2f434..22b78ec446447142e5f0c7d6bedd683929321257 100644
--- a/storage/browser/fileapi/file_system_context.cc
+++ b/storage/browser/fileapi/file_system_context.cc
@@ -293,25 +293,19 @@ bool FileSystemContext::IsSandboxFileSystem(FileSystemType type) const {
const UpdateObserverList* FileSystemContext::GetUpdateObservers(
FileSystemType type) const {
FileSystemBackend* backend = GetFileSystemBackend(type);
- if (backend->GetQuotaUtil())
- return backend->GetQuotaUtil()->GetUpdateObservers(type);
- return NULL;
+ return backend->GetUpdateObservers(type);
}
const ChangeObserverList* FileSystemContext::GetChangeObservers(
FileSystemType type) const {
FileSystemBackend* backend = GetFileSystemBackend(type);
- if (backend->GetQuotaUtil())
- return backend->GetQuotaUtil()->GetChangeObservers(type);
- return NULL;
+ return backend->GetChangeObservers(type);
}
const AccessObserverList* FileSystemContext::GetAccessObservers(
FileSystemType type) const {
FileSystemBackend* backend = GetFileSystemBackend(type);
- if (backend->GetQuotaUtil())
- return backend->GetQuotaUtil()->GetAccessObservers(type);
- return NULL;
+ return backend->GetAccessObservers(type);
}
void FileSystemContext::GetFileSystemTypes(
« no previous file with comments | « storage/browser/fileapi/file_system_backend.h ('k') | storage/browser/fileapi/file_system_quota_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698