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 fdbd44435968f12e2adbd373f7c0f50b3a3c77cd..474af47128947e5bc9b8f551328f43f1f1263d25 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 |