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

Unified Diff: content/browser/in_process_webkit/indexed_db_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
Index: content/browser/in_process_webkit/indexed_db_quota_client.h
diff --git a/content/browser/in_process_webkit/indexed_db_quota_client.h b/content/browser/in_process_webkit/indexed_db_quota_client.h
index 59b3b23cd92389eba2629c0e1b184d489d69efcd..f98f7c08cdf3e5bdba9d160060c0ad59296f1b9e 100644
--- a/content/browser/in_process_webkit/indexed_db_quota_client.h
+++ b/content/browser/in_process_webkit/indexed_db_quota_client.h
@@ -53,20 +53,23 @@ class IndexedDBQuotaClient : 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);
scoped_refptr<base::MessageLoopProxy> webkit_thread_message_loop_;
scoped_refptr<IndexedDBContext> indexed_db_context_;
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | content/browser/in_process_webkit/indexed_db_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698