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

Unified Diff: components/sync_driver/sync_prefs.cc

Issue 1586563004: [Sync] Don't set sync requested when setting setup completed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: RequestStart in OneClickSigninSyncStarter. Created 4 years, 11 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
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_sync_starter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/sync_prefs.cc
diff --git a/components/sync_driver/sync_prefs.cc b/components/sync_driver/sync_prefs.cc
index c448903f3809e112e0d61465c833eb2f5af49110..6cebfa72bcbada0f77b05a9f14edfba0a5de5a37 100644
--- a/components/sync_driver/sync_prefs.cc
+++ b/components/sync_driver/sync_prefs.cc
@@ -129,7 +129,6 @@ bool SyncPrefs::IsFirstSetupComplete() const {
void SyncPrefs::SetFirstSetupComplete() {
DCHECK(CalledOnValidThread());
pref_service_->SetBoolean(prefs::kSyncFirstSetupComplete, true);
- SetSyncRequested(true);
}
bool SyncPrefs::SyncHasAuthError() const {
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_sync_starter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698