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

Unified Diff: webkit/appcache/appcache_quota_client_unittest.cc

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.cc ('k') | webkit/database/database_quota_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_quota_client_unittest.cc
diff --git a/webkit/appcache/appcache_quota_client_unittest.cc b/webkit/appcache/appcache_quota_client_unittest.cc
index 9ab1b4b1faa0ff6cdcbf066f6fa95d2ebc65fd23..fb967ac71d70cb5936da7b6862a2776ddd6faab3 100644
--- a/webkit/appcache/appcache_quota_client_unittest.cc
+++ b/webkit/appcache/appcache_quota_client_unittest.cc
@@ -137,9 +137,11 @@ class AppCacheQuotaClientTest : public testing::Test {
usage_ = usage;
}
- void OnGetOriginsComplete(const std::set<GURL>& origins) {
+ void OnGetOriginsComplete(const std::set<GURL>& origins,
+ quota::StorageType type) {
++num_get_origins_completions_;
origins_ = origins;
+ type_ = type;
}
void OnDeleteOriginDataComplete(quota::QuotaStatusCode status) {
@@ -149,6 +151,7 @@ class AppCacheQuotaClientTest : public testing::Test {
int64 usage_;
std::set<GURL> origins_;
+ quota::StorageType type_;
quota::QuotaStatusCode delete_status_;
int num_get_origin_usage_completions_;
int num_get_origins_completions_;
« no previous file with comments | « webkit/appcache/appcache_quota_client.cc ('k') | webkit/database/database_quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698