| Index: chrome/browser/ui/webui/options/browser_options_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.h b/chrome/browser/ui/webui/options/browser_options_handler.h
|
| index d7a125496444d078aec97a5d303ac08d9a33bc66..1dee8a68acd04eb9e721eb05fed49d15bae94e6c 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.h
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/prefs/pref_member.h"
|
| #include "base/scoped_observer.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/profiles/profile_info_cache_observer.h"
|
| #include "chrome/browser/shell_integration.h"
|
| #include "chrome/browser/sync/profile_sync_service_observer.h"
|
| #include "chrome/browser/ui/host_desktop.h"
|
| @@ -53,6 +54,7 @@ namespace options {
|
| // Chrome browser options page UI handler.
|
| class BrowserOptionsHandler
|
| : public OptionsPageUIHandler,
|
| + public ProfileInfoCacheObserver,
|
| public ProfileSyncServiceObserver,
|
| public SigninManagerBase::Observer,
|
| public ui::SelectFileDialog::Listener,
|
| @@ -113,6 +115,14 @@ class BrowserOptionsHandler
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) override;
|
|
|
| + // ProfileInfoCacheObserver implementation.
|
| + void OnProfileAdded(const base::FilePath& profile_path) override;
|
| + void OnProfileWasRemoved(const base::FilePath& profile_path,
|
| + const base::string16& profile_name) override;
|
| + void OnProfileNameChanged(const base::FilePath& profile_path,
|
| + const base::string16& old_profile_name) override;
|
| + void OnProfileAvatarChanged(const base::FilePath& profile_path) override;
|
| +
|
| #if defined(ENABLE_PRINT_PREVIEW) && !defined(OS_CHROMEOS)
|
| void OnCloudPrintPrefsChanged();
|
| #endif
|
|
|