| 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 f4f4d331f27ac4c2a37a806e1ae4558c7dae5d74..e85058f0cc876413ba4f5e36d8fdfcb0beec27d4 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());
|
| }
|
|
|