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

Unified Diff: content/child/quota_dispatcher.h

Issue 142903002: Quota: Return a pair of usage and granted_quota on requesting quota. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « content/browser/quota_dispatcher_host.cc ('k') | content/child/quota_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/quota_dispatcher.h
diff --git a/content/child/quota_dispatcher.h b/content/child/quota_dispatcher.h
index d42d02d8d91845ed40e1b08000af646d9c7fa26c..818ffefcfa714c97477eec52af9dc121e6cd3182 100644
--- a/content/child/quota_dispatcher.h
+++ b/content/child/quota_dispatcher.h
@@ -39,7 +39,7 @@ class QuotaDispatcher : public webkit_glue::WorkerTaskRunner::Observer {
public:
virtual ~Callback() {}
virtual void DidQueryStorageUsageAndQuota(int64 usage, int64 quota) = 0;
- virtual void DidGrantStorageQuota(int64 granted_quota) = 0;
+ virtual void DidGrantStorageQuota(int64 usage, int64 granted_quota) = 0;
virtual void DidFail(quota::QuotaStatusCode status) = 0;
};
@@ -77,6 +77,7 @@ class QuotaDispatcher : public webkit_glue::WorkerTaskRunner::Observer {
int64 current_usage,
int64 current_quota);
void DidGrantStorageQuota(int request_id,
+ int64 current_usage,
int64 granted_quota);
void DidFail(int request_id,
quota::QuotaStatusCode error);
« no previous file with comments | « content/browser/quota_dispatcher_host.cc ('k') | content/child/quota_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698