| Index: chrome/browser/sync/profile_sync_service_session_unittest.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc
|
| index 7ed919406bf2ad81e930cadd2437b77f7321736e..7701ce90e1bb9e1a11d6044a2787d1475ba34403 100644
|
| --- a/chrome/browser/sync/profile_sync_service_session_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc
|
| @@ -251,9 +251,9 @@ class ProfileSyncServiceSessionTest
|
|
|
| // Pump messages posted by the sync core thread (which may end up
|
| // posting on the IO thread).
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
| io_thread_.Stop();
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
| BrowserWithTestWindowTest::TearDown();
|
| }
|
|
|
| @@ -295,7 +295,7 @@ class ProfileSyncServiceSessionTest
|
| TokenServiceFactory::GetForProfile(profile())->IssueAuthTokenForTest(
|
| GaiaConstants::kSyncService, "token");
|
| sync_service_->Initialize();
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
| return true;
|
| }
|
|
|
| @@ -1203,7 +1203,7 @@ TEST_F(ProfileSyncServiceSessionTest, Favicons) {
|
| // Update associator.
|
| model_associator_->AssociateForeignSpecifics(meta, base::Time());
|
| model_associator_->AssociateForeignSpecifics(tab, base::Time());
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
| ASSERT_FALSE(model_associator_->GetSyncedFaviconForPageURL(url, &favicon));
|
|
|
| // Now add a favicon.
|
| @@ -1211,7 +1211,7 @@ TEST_F(ProfileSyncServiceSessionTest, Favicons) {
|
| tab.mutable_tab()->set_favicon_type(sync_pb::SessionTab::TYPE_WEB_FAVICON);
|
| tab.mutable_tab()->set_favicon("data");
|
| model_associator_->AssociateForeignSpecifics(tab, base::Time());
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
| ASSERT_TRUE(model_associator_->GetSyncedFaviconForPageURL(url, &favicon));
|
| ASSERT_TRUE(CompareMemoryToString("data", favicon));
|
|
|
| @@ -1222,7 +1222,7 @@ TEST_F(ProfileSyncServiceSessionTest, Favicons) {
|
| tab.mutable_tab()->clear_favicon_type();
|
| tab.mutable_tab()->clear_favicon();
|
| model_associator_->AssociateForeignSpecifics(tab, base::Time());
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
| ASSERT_TRUE(model_associator_->GetSyncedFaviconForPageURL(url, &favicon));
|
| }
|
|
|
|
|