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

Unified Diff: webkit/quota/quota_types.h

Issue 15695003: [Quota][Clean up] Drop StorageType in GlobalUsageCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testfix Created 7 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/quota/quota_manager_unittest.cc ('k') | webkit/quota/usage_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_types.h
diff --git a/webkit/quota/quota_types.h b/webkit/quota/quota_types.h
index 5056c54cb6b1197f0cb4d12516f5ee35c7fc79ba..97de985086722d7f3a0d477c2f764d8b53f77a9c 100644
--- a/webkit/quota/quota_types.h
+++ b/webkit/quota/quota_types.h
@@ -37,8 +37,7 @@ struct UsageInfo;
typedef std::vector<UsageInfo> UsageInfoEntries;
// Common callback types that are used throughout in the quota module.
-typedef base::Callback<void(StorageType status,
- int64 usage,
+typedef base::Callback<void(int64 usage,
int64 unlimited_usage)> GlobalUsageCallback;
typedef base::Callback<void(QuotaStatusCode status, int64 quota)> QuotaCallback;
typedef base::Callback<void(int64 usage)> UsageCallback;
@@ -82,7 +81,7 @@ class CallbackQueue {
};
typedef CallbackQueue<GlobalUsageCallback,
- Tuple3<StorageType, int64, int64> >
+ Tuple2<int64, int64> >
GlobalUsageCallbackQueue;
typedef CallbackQueue<AvailableSpaceCallback,
Tuple2<QuotaStatusCode, int64> >
« no previous file with comments | « webkit/quota/quota_manager_unittest.cc ('k') | webkit/quota/usage_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698