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

Unified Diff: webkit/database/database_quota_client.h

Issue 7533013: Quota: Add quota::StorageType to the GetOriginsCallback definition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing onto today's ToT. Created 9 years, 5 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/appcache/appcache_quota_client_unittest.cc ('k') | webkit/database/database_quota_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/database/database_quota_client.h
diff --git a/webkit/database/database_quota_client.h b/webkit/database/database_quota_client.h
index acc839e8b24744daf0ca7d474a86fd1307dc5657..fb37ff6150a6034788b8f6f211864fc0e51ff70e 100644
--- a/webkit/database/database_quota_client.h
+++ b/webkit/database/database_quota_client.h
@@ -56,20 +56,23 @@ class DatabaseQuotaClient : public quota::QuotaClient,
GURL, // origin
int64
> UsageForOriginCallbackMap;
- typedef quota::CallbackQueue1
+ typedef quota::CallbackQueue2
<GetOriginsCallback*,
- const std::set<GURL>&
+ const std::set<GURL>&,
+ quota::StorageType
> OriginsForTypeCallbackQueue;
- typedef quota::CallbackQueueMap1
+ typedef quota::CallbackQueueMap2
<GetOriginsCallback*,
std::string, // host
- const std::set<GURL>&
+ const std::set<GURL>&,
+ quota::StorageType
> OriginsForHostCallbackMap;
void DidGetOriginUsage(const GURL& origin_url, int64 usage);
- void DidGetAllOrigins(const std::set<GURL>& origins);
- void DidGetOriginsForHost(
- const std::string& host, const std::set<GURL>& origins);
+ void DidGetAllOrigins(const std::set<GURL>& origins, quota::StorageType type);
+ void DidGetOriginsForHost(const std::string& host,
+ const std::set<GURL>& origins,
+ quota::StorageType type);
scoped_refptr<base::MessageLoopProxy> db_tracker_thread_;
scoped_refptr<DatabaseTracker> db_tracker_; // only used on its thread
« no previous file with comments | « webkit/appcache/appcache_quota_client_unittest.cc ('k') | webkit/database/database_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698