| Index: chrome/browser/ui/webui/options/sync_setup_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/sync_setup_handler.h b/chrome/browser/ui/webui/options/sync_setup_handler.h
|
| index 0065eccb97f0f482481c2c870fa79894f84f5ea0..7c69c4c700958894a69358f53a818e3a99cdc258 100644
|
| --- a/chrome/browser/ui/webui/options/sync_setup_handler.h
|
| +++ b/chrome/browser/ui/webui/options/sync_setup_handler.h
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/sync/sync_startup_tracker.h"
|
| #include "chrome/browser/ui/webui/options/options_ui.h"
|
| #include "chrome/browser/ui/webui/signin/login_ui_service.h"
|
| +#include "components/signin/core/browser/signin_metrics.h"
|
|
|
| class LoginUIService;
|
| class ProfileSyncService;
|
| @@ -44,7 +45,7 @@ class SyncSetupHandler : public options::OptionsPageUIHandler,
|
| content::WebUI* web_ui);
|
|
|
| // Initializes the sync setup flow and shows the setup UI.
|
| - void OpenSyncSetup();
|
| + void OpenSyncSetup(const base::ListValue* args);
|
|
|
| // Shows advanced configuration dialog without going through sign in dialog.
|
| // Kicks the sync backend if necessary with showing spinner dialog until it
|
| @@ -105,11 +106,12 @@ class SyncSetupHandler : public options::OptionsPageUIHandler,
|
| void HandleCloseTimeout(const base::ListValue* args);
|
| #if !defined(OS_CHROMEOS)
|
| // Displays the GAIA login form.
|
| - void DisplayGaiaLogin();
|
| + void DisplayGaiaLogin(signin_metrics::AccessPoint access_point);
|
|
|
| // When web-flow is enabled, displays the Gaia login form in a new tab.
|
| // This function is virtual so that tests can override.
|
| - virtual void DisplayGaiaLoginInNewTabOrWindow();
|
| + virtual void DisplayGaiaLoginInNewTabOrWindow(
|
| + signin_metrics::AccessPoint access_point);
|
| #endif
|
|
|
| // Helper routine that gets the Profile associated with this object (virtual
|
|
|