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

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: 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
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..d3760aec5319ac3de96fc7c9ebc1aff2cc68ba37 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 DidGetAllOrigins(const std::set<GURL>& origins, quota::StorageType type);
void DidGetOriginsForHost(
- const std::string& host, const std::set<GURL>& origins);
+ const std::string& host, const std::set<GURL>& origins,
+ quota::StorageType type);
kinuko 2011/07/29 11:12:36 nit: indent maybe we should put all the params in
Mike West 2011/07/29 12:25:42 Done.
scoped_refptr<base::MessageLoopProxy> db_tracker_thread_;
scoped_refptr<DatabaseTracker> db_tracker_; // only used on its thread

Powered by Google App Engine
This is Rietveld 408576698