| Index: chrome/browser/ui/browser_command_controller.h
|
| diff --git a/chrome/browser/ui/browser_command_controller.h b/chrome/browser/ui/browser_command_controller.h
|
| index e9fa6275385f66bd79c310c82b16da609215c402..c82517a2a6d111d382e515051156e673d8705f21 100644
|
| --- a/chrome/browser/ui/browser_command_controller.h
|
| +++ b/chrome/browser/ui/browser_command_controller.h
|
| @@ -6,7 +6,7 @@
|
| #define CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_
|
|
|
| #include "base/prefs/public/pref_change_registrar.h"
|
| -#include "chrome/browser/api/sync/profile_sync_service_observer.h"
|
| +#include "base/prefs/public/pref_member.h"
|
| #include "chrome/browser/command_updater.h"
|
| #include "chrome/browser/command_updater_delegate.h"
|
| #include "chrome/browser/profiles/profile_info_cache_observer.h"
|
| @@ -169,6 +169,9 @@ class BrowserCommandController : public CommandUpdaterDelegate,
|
| // Updates the printing command state.
|
| void UpdatePrintingState();
|
|
|
| + // Updates the SHOW_SYNC_SETUP menu entry.
|
| + void OnSigninAllowedPrefChange();
|
| +
|
| // Updates the save-page-as command state.
|
| void UpdateSaveAsState();
|
|
|
| @@ -207,6 +210,7 @@ class BrowserCommandController : public CommandUpdaterDelegate,
|
| content::NotificationRegistrar registrar_;
|
| PrefChangeRegistrar profile_pref_registrar_;
|
| PrefChangeRegistrar local_pref_registrar_;
|
| + BooleanPrefMember pref_signin_allowed_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BrowserCommandController);
|
| };
|
|
|