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

Unified Diff: webkit/fileapi/file_system_quota_util.h

Issue 10407115: Always pass FileSystemContext to ObfuscatedFileUtil operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 8 years, 7 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 | « webkit/fileapi/file_system_quota_client.cc ('k') | webkit/fileapi/file_system_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_quota_util.h
diff --git a/webkit/fileapi/file_system_quota_util.h b/webkit/fileapi/file_system_quota_util.h
index 9640e93417a734c2cf6511ede2f7f0162670b8af..66e8e33878ffa438293e59d1db0ae1bdb383e462 100644
--- a/webkit/fileapi/file_system_quota_util.h
+++ b/webkit/fileapi/file_system_quota_util.h
@@ -23,6 +23,8 @@ class QuotaManagerProxy;
namespace fileapi {
+class FileSystemContext;
+
// An abstract interface that provides common quota-related utility functions
// for internal filesystem modules. The main consumer of this class is
// file_system_quota_client and quota_file_util.
@@ -67,8 +69,10 @@ class FileSystemQuotaUtil {
// Called by quota client.
// Returns the amount of data used for the origin for usage tracking.
- virtual int64 GetOriginUsageOnFileThread(const GURL& origin_url,
- fileapi::FileSystemType type) = 0;
+ virtual int64 GetOriginUsageOnFileThread(
+ fileapi::FileSystemContext* file_system_context,
+ const GURL& origin_url,
+ fileapi::FileSystemType type) = 0;
// Called by quota file util.
virtual void UpdateOriginUsageOnFileThread(quota::QuotaManagerProxy* proxy,
« no previous file with comments | « webkit/fileapi/file_system_quota_client.cc ('k') | webkit/fileapi/file_system_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698