Index: chrome/browser/ui/webui/options/manage_profile_handler.h |
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.h b/chrome/browser/ui/webui/options/manage_profile_handler.h |
index 1c6c7805316aa4b5ff81dc1b6546f114e61466a2..d9dbd26309e81053e714ff784b1aa5944ae6b5ef 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.h |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.h |
@@ -9,6 +9,7 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/prefs/pref_change_registrar.h" |
+#include "chrome/browser/sync/profile_sync_service_observer.h" |
#include "chrome/browser/ui/webui/options/options_ui.h" |
namespace base { |
@@ -18,7 +19,8 @@ class StringValue; |
namespace options { |
// Chrome personal stuff profiles manage overlay UI handler. |
-class ManageProfileHandler : public OptionsPageUIHandler { |
+class ManageProfileHandler : public OptionsPageUIHandler, |
+ public ProfileSyncServiceObserver { |
public: |
ManageProfileHandler(); |
virtual ~ManageProfileHandler(); |
@@ -37,6 +39,9 @@ class ManageProfileHandler : public OptionsPageUIHandler { |
const content::NotificationSource& source, |
const content::NotificationDetails& details) OVERRIDE; |
+ // ProfileSyncServiceObserver: |
+ virtual void OnStateChanged() OVERRIDE; |
+ |
private: |
// Callback for the "requestDefaultProfileIcons" message. |
// Sends the array of default profile icon URLs to WebUI. |