| 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();
|
|
|