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

Unified Diff: webkit/quota/quota_manager_unittest.cc

Issue 10958032: Merged HostQuotaCallback into QuotaCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Kinuko Review #1 Created 8 years, 3 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.cc ('k') | webkit/quota/quota_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_manager_unittest.cc
diff --git a/webkit/quota/quota_manager_unittest.cc b/webkit/quota/quota_manager_unittest.cc
index 11ddd17d276c081b7eeaab1f26bdf0ba062dc53e..99e06368aab54403a2fe70d8c75370b717ca682c 100644
--- a/webkit/quota/quota_manager_unittest.cc
+++ b/webkit/quota/quota_manager_unittest.cc
@@ -108,7 +108,7 @@ class QuotaManagerTest : public testing::Test {
quota_ = -1;
quota_manager_->GetTemporaryGlobalQuota(
base::Bind(&QuotaManagerTest::DidGetQuota,
- weak_factory_.GetWeakPtr()));
+ weak_factory_.GetWeakPtr(), quota::kStorageTypeTemporary));
}
void SetTemporaryGlobalQuota(int64 new_quota) {
@@ -117,7 +117,7 @@ class QuotaManagerTest : public testing::Test {
quota_manager_->SetTemporaryGlobalOverrideQuota(
new_quota,
base::Bind(&QuotaManagerTest::DidGetQuota,
- weak_factory_.GetWeakPtr()));
+ weak_factory_.GetWeakPtr(), quota::kStorageTypeTemporary));
}
void GetPersistentHostQuota(const std::string& host) {
@@ -295,8 +295,8 @@ class QuotaManagerTest : public testing::Test {
quota_ = quota;
}
- void DidGetQuota(QuotaStatusCode status,
- StorageType type,
+ void DidGetQuota(StorageType type,
+ QuotaStatusCode status,
int64 quota) {
quota_status_ = status;
type_ = type;
« no previous file with comments | « webkit/quota/quota_manager.cc ('k') | webkit/quota/quota_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698