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

Unified Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: chrome/browser/sync/test_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
index 71f2a3d9c7b3c1618ddd8cacea1f37b5241897d9..2d909fb208d6361d05fdeccb2ea7f7db45cae70f 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -88,7 +88,7 @@ void SyncBackendHostForProfileSyncTest::InitCore(
if (synchronous_init_) {
// The SyncBackend posts a task to the current loop when
// initialization completes.
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
}
@@ -166,7 +166,7 @@ void SyncBackendHostForProfileSyncTest
if (fail_initial_download_) {
frontend()->OnSyncConfigureRetry();
if (synchronous_init_)
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
} else {
initial_download_closure_.Run();
initial_download_closure_.Reset();
@@ -254,7 +254,7 @@ void TestProfileSyncService::OnBackendInitialized(
// TODO(akalin): Figure out a better way to do this.
if (synchronous_backend_initialization_) {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
}
@@ -262,7 +262,7 @@ void TestProfileSyncService::OnConfigureDone(
const browser_sync::DataTypeManager::ConfigureResult& result) {
ProfileSyncService::OnConfigureDone(result);
if (!synchronous_sync_configuration_)
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
UserShare* TestProfileSyncService::GetUserShare() const {

Powered by Google App Engine
This is Rietveld 408576698