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

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

Issue 10534075: [sync] Make SetSetupInProgress kick sync engine when needed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove call to SetSyncSetupCompleted, and change kick-mechanism Created 8 years, 6 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/profile_sync_service_harness.cc
diff --git a/chrome/browser/sync/profile_sync_service_harness.cc b/chrome/browser/sync/profile_sync_service_harness.cc
index 3d3892f4a93852cbb1644edb8654986df00b4ebf..6609b2dc9aa42c8dea21680236f4ba7f6cf36edf 100644
--- a/chrome/browser/sync/profile_sync_service_harness.cc
+++ b/chrome/browser/sync/profile_sync_service_harness.cc
@@ -171,7 +171,7 @@ bool ProfileSyncServiceHarness::SetupSync(
// Tell the sync service that setup is in progress so we don't start syncing
// until we've finished configuration.
- service_->set_setup_in_progress(true);
+ service_->SetSetupInProgress(true);
// Authenticate sync client using GAIA credentials.
if (!CommandLine::ForCurrentProcess()->HasSwitch(
@@ -238,7 +238,7 @@ bool ProfileSyncServiceHarness::SetupSync(
}
// Notify ProfileSyncService that we are done with configuration.
- service_->set_setup_in_progress(false);
+ service_->SetSetupInProgress(false);
// Indicate to the browser that sync setup is complete.
service()->SetSyncSetupCompleted();
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/profile_sync_service_startup_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698