Index: chrome/browser/ui/webui/uber/uber_ui.h |
diff --git a/chrome/browser/ui/webui/uber/uber_ui.h b/chrome/browser/ui/webui/uber/uber_ui.h |
index c6e94a94b17bc6b9ceb6431ab40be081dcbddf85..1a9432b068c927d19ef55b34012dc1d5665f5988 100644 |
--- a/chrome/browser/ui/webui/uber/uber_ui.h |
+++ b/chrome/browser/ui/webui/uber/uber_ui.h |
@@ -10,6 +10,9 @@ |
#include "base/memory/scoped_vector.h" |
#include "base/values.h" |
+#include "chrome/browser/profiles/profile.h" |
Mark Mentovai
2012/04/09 22:55:58
This too.
|
+#include "content/public/browser/notification_observer.h" |
+#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/web_ui_controller.h" |
// The WebUI class for the uber page (chrome://chrome). It manages the UI for |
@@ -45,12 +48,20 @@ class UberUI : public content::WebUIController { |
DISALLOW_COPY_AND_ASSIGN(UberUI); |
}; |
-class UberFrameUI : public content::WebUIController { |
+class UberFrameUI : public content::NotificationObserver, |
+ public content::WebUIController { |
public: |
explicit UberFrameUI(content::WebUI* web_ui); |
virtual ~UberFrameUI(); |
private: |
+ // content::NotificationObserver implementation. |
+ virtual void Observe(int type, |
+ const content::NotificationSource& source, |
+ const content::NotificationDetails& details) OVERRIDE; |
+ |
+ content::NotificationRegistrar registrar_; |
+ |
DISALLOW_COPY_AND_ASSIGN(UberFrameUI); |
}; |