| Index: chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.h
|
| diff --git a/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.h b/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.h
|
| index 5c7c7e1d46ec5cd1e3ee563cc9a028b7d249405a..b997b911711ae53eaf9ae1c1536228adea481c2f 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.h
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.h
|
| @@ -39,6 +39,9 @@ class NewTabSyncSetupHandler : public SyncSetupHandler {
|
| // Javascript callback handler to expand the sync promo.
|
| void HandleExpandSyncPromo(const ListValue* args);
|
|
|
| + // Javascript callback handler to show the profiles menu.
|
| + void HandleShowProfilesMenu(const ListValue* args);
|
| +
|
| private:
|
| // Sends the sync login name to the page.
|
| void UpdateLogin();
|
| @@ -48,6 +51,9 @@ class NewTabSyncSetupHandler : public SyncSetupHandler {
|
|
|
| // Preference for the sync login name.
|
| StringPrefMember username_pref_;
|
| +
|
| + // This is used to monitor the profile state.
|
| + NotificationRegistrar registrar_;
|
| };
|
|
|
| #endif // CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_SYNC_SETUP_HANDLER_H_
|
|
|