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

Unified Diff: chrome/browser/ui/sync/one_click_signin_sync_starter.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 | « no previous file | components/sync_driver/sync_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sync/one_click_signin_sync_starter.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_sync_starter.cc b/chrome/browser/ui/sync/one_click_signin_sync_starter.cc
index 70e2ff37a8fde560da8f813e3d188b5cdf03fc3d..6e0f19cb1e97fa88f9c606a0c6ae0b45378ae2e9 100644
--- a/chrome/browser/ui/sync/one_click_signin_sync_starter.cc
+++ b/chrome/browser/ui/sync/one_click_signin_sync_starter.cc
@@ -418,8 +418,10 @@ void OneClickSigninSyncStarter::OnSyncConfirmationUIClosed(
content::RecordAction(
base::UserMetricsAction("Signin_Signin_WithDefaultSyncSettings"));
ProfileSyncService* profile_sync_service = GetProfileSyncService();
- if (profile_sync_service)
+ if (profile_sync_service) {
profile_sync_service->SetFirstSetupComplete();
+ profile_sync_service->RequestStart();
+ }
FinishProfileSyncServiceSetup();
}
« no previous file with comments | « no previous file | components/sync_driver/sync_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698