Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1583)

Unified Diff: chrome/browser/ui/webui/uber/uber_ui.h

Issue 9967017: Upstream Android native crash handling changes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: sync again Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698