Index: chrome/browser/browser_process.h |
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h |
index af1b13ebe66bb57e25e5bb366a966cbd17be65da..942c0b0fed52c18f036b621f9c2ee5a5fab226a9 100644 |
--- a/chrome/browser/browser_process.h |
+++ b/chrome/browser/browser_process.h |
@@ -55,6 +55,12 @@ namespace extensions { |
class EventRouterForwarder; |
} |
+#if defined(ENABLE_MESSAGE_CENTER) |
+namespace message_center { |
+class MessageCenter; |
+} |
+#endif |
+ |
namespace net { |
class URLRequestContextGetter; |
} |
@@ -112,6 +118,11 @@ class BrowserProcess { |
// Returns the manager for desktop notifications. |
virtual NotificationUIManager* notification_ui_manager() = 0; |
+#if defined(ENABLE_MESSAGE_CENTER) |
+ // MessageCenter is a global list of currently displayed notifications. |
+ virtual message_center::MessageCenter* message_center() = 0; |
+#endif |
+ |
// Returns the state object for the thread that we perform I/O |
// coordination on (network requests, communication with renderers, |
// etc. |