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

Unified Diff: chrome/browser/ui/sync/one_click_signin_sync_starter.h

Issue 14655009: Client changes for disabled dasher account (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment 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
« no previous file with comments | « chrome/browser/sync/sync_prefs.cc ('k') | chrome/browser/ui/sync/one_click_signin_sync_starter.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.h
diff --git a/chrome/browser/ui/sync/one_click_signin_sync_starter.h b/chrome/browser/ui/sync/one_click_signin_sync_starter.h
index b2add3cca8fa0376f83c5e9a46f0b05f3839f432..ecfee0004bd6ad68a8308765cbaee952a9714f8d 100644
--- a/chrome/browser/ui/sync/one_click_signin_sync_starter.h
+++ b/chrome/browser/ui/sync/one_click_signin_sync_starter.h
@@ -116,8 +116,15 @@ class OneClickSigninSyncStarter : public SigninTracker::Observer {
// signin is completed.
void UntrustedSigninConfirmed(StartSyncMode response);
+ // GetProfileSyncService returns non-NULL pointer if sync is enabled.
+ // There is a scenario when when ProfileSyncService discovers that sync is
+ // disabled during setup. In this case GetProfileSyncService will return NULL,
+ // but we still need to call PSS::SetSetupInProgress(false). For this purpose
+ // call FinishProfileSyncServiceSetup() function.
ProfileSyncService* GetProfileSyncService();
+ void FinishProfileSyncServiceSetup();
+
// Displays the sync configuration UI.
void ConfigureSync();
void ShowSyncSettingsPageOnSameTab();
« no previous file with comments | « chrome/browser/sync/sync_prefs.cc ('k') | chrome/browser/ui/sync/one_click_signin_sync_starter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698