| Index: webkit/quota/quota_manager_unittest.cc
|
| diff --git a/webkit/quota/quota_manager_unittest.cc b/webkit/quota/quota_manager_unittest.cc
|
| index 16fc799915154854a804bfaf78583754b6221886..0ba95a3a1cdf16faa39abd34d3890fbb347cdad4 100644
|
| --- a/webkit/quota/quota_manager_unittest.cc
|
| +++ b/webkit/quota/quota_manager_unittest.cc
|
| @@ -128,7 +128,7 @@ class QuotaManagerTest : public testing::Test {
|
| quota_manager_->GetPersistentHostQuota(
|
| host,
|
| base::Bind(&QuotaManagerTest::DidGetHostQuota,
|
| - weak_factory_.GetWeakPtr()));
|
| + weak_factory_.GetWeakPtr(), host, type_));
|
| }
|
|
|
| void SetPersistentHostQuota(const std::string& host, int64 new_quota) {
|
| @@ -139,7 +139,7 @@ class QuotaManagerTest : public testing::Test {
|
| quota_manager_->SetPersistentHostQuota(
|
| host, new_quota,
|
| base::Bind(&QuotaManagerTest::DidGetHostQuota,
|
| - weak_factory_.GetWeakPtr()));
|
| + weak_factory_.GetWeakPtr(), host, type_));
|
| }
|
|
|
| void GetGlobalUsage(StorageType type) {
|
| @@ -159,7 +159,7 @@ class QuotaManagerTest : public testing::Test {
|
| quota_manager_->GetHostUsage(
|
| host, type,
|
| base::Bind(&QuotaManagerTest::DidGetHostUsage,
|
| - weak_factory_.GetWeakPtr()));
|
| + weak_factory_.GetWeakPtr(), host, type));
|
| }
|
|
|
| void RunAdditionalUsageAndQuotaTask(const GURL& origin, StorageType type) {
|
| @@ -308,13 +308,13 @@ class QuotaManagerTest : public testing::Test {
|
| available_space_ = available_space;
|
| }
|
|
|
| - void DidGetHostQuota(QuotaStatusCode status,
|
| - const std::string& host,
|
| + void DidGetHostQuota(const std::string& host,
|
| StorageType type,
|
| + QuotaStatusCode status,
|
| int64 quota) {
|
| - quota_status_ = status;
|
| host_ = host;
|
| type_ = type;
|
| + quota_status_ = status;
|
| quota_ = quota;
|
| }
|
|
|
|
|