Index: chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc |
diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc b/chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc |
index cafd2b6671f13428c6a9ce8b7507415890d6ca9a..017570c219a838698e11b8908d1252b4d4e6f612 100644 |
--- a/chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc |
+++ b/chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc |
@@ -49,7 +49,7 @@ class BrowsingDataQuotaHelperTest : public testing::Test { |
helper_ = NULL; |
quota_manager_ = NULL; |
quota_info_.clear(); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
} |
protected: |
@@ -113,7 +113,7 @@ class BrowsingDataQuotaHelperTest : public testing::Test { |
fetching_completed_ = true; |
} |
- MessageLoop message_loop_; |
+ base::MessageLoop message_loop_; |
content::TestBrowserThread ui_thread_; |
content::TestBrowserThread db_thread_; |
content::TestBrowserThread io_thread_; |
@@ -132,7 +132,7 @@ class BrowsingDataQuotaHelperTest : public testing::Test { |
TEST_F(BrowsingDataQuotaHelperTest, Empty) { |
StartFetching(); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
EXPECT_TRUE(fetching_completed()); |
EXPECT_TRUE(quota_info().empty()); |
} |
@@ -148,7 +148,7 @@ TEST_F(BrowsingDataQuotaHelperTest, FetchData) { |
RegisterClient(kOrigins, arraysize(kOrigins)); |
StartFetching(); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
EXPECT_TRUE(fetching_completed()); |
std::set<QuotaInfo> expected, actual; |
@@ -177,7 +177,7 @@ TEST_F(BrowsingDataQuotaHelperTest, IgnoreExtensionsAndDevTools) { |
RegisterClient(kOrigins, arraysize(kOrigins)); |
StartFetching(); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
EXPECT_TRUE(fetching_completed()); |
std::set<QuotaInfo> expected, actual; |
@@ -193,16 +193,16 @@ TEST_F(BrowsingDataQuotaHelperTest, RevokeHostQuota) { |
SetPersistentHostQuota(kHost1, 1); |
SetPersistentHostQuota(kHost2, 10); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
RevokeHostQuota(kHost1); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
GetPersistentHostQuota(kHost1); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
EXPECT_EQ(0, quota()); |
GetPersistentHostQuota(kHost2); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
EXPECT_EQ(10, quota()); |
} |