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

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: rebase again Created 7 years, 7 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 73415c06988c5563222f6696160b8b0e453710c9..06d586a0400341f005d316d14909c04bd2e29d2d 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();
}
}
@@ -169,7 +169,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();
@@ -258,7 +258,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();
}
}
@@ -266,7 +266,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 {
« no previous file with comments | « chrome/browser/sync/test/integration/sync_test.cc ('k') | chrome/browser/sync_file_system/drive/api_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698