Index: chrome/browser/browser_process_impl.h |
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h |
index 393c25e62b7761f533e4bd4852f1b4f885bc02b4..5cb30b437b9641f53bd1415a94009506585d238b 100644 |
--- a/chrome/browser/browser_process_impl.h |
+++ b/chrome/browser/browser_process_impl.h |
@@ -85,6 +85,7 @@ class BrowserProcessImpl : public BrowserProcess, |
virtual extensions::EventRouterForwarder* |
extension_event_router_forwarder() OVERRIDE; |
virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
+ virtual message_center::MessageCenter* message_center() OVERRIDE; |
virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
virtual policy::PolicyService* policy_service() OVERRIDE; |
virtual IconManager* icon_manager() OVERRIDE; |
@@ -141,6 +142,7 @@ class BrowserProcessImpl : public BrowserProcess, |
void CreateIconManager(); |
void CreateIntranetRedirectDetector(); |
void CreateNotificationUIManager(); |
+ void CreateMessageCenter(); |
void CreateStatusTrayManager(); |
void CreatePrintPreviewDialogController(); |
void CreateBackgroundPrintingManager(); |
@@ -206,6 +208,12 @@ class BrowserProcessImpl : public BrowserProcess, |
bool created_notification_ui_manager_; |
scoped_ptr<NotificationUIManager> notification_ui_manager_; |
+#if defined(ENABLE_MESSAGE_CENTER) |
+ // MessageCenter keeps currently displayed UI notifications. |
+ bool created_message_center_; |
+ scoped_ptr<message_center::MessageCenter> message_center_; |
+#endif |
+ |
#if defined(ENABLE_AUTOMATION) |
scoped_ptr<AutomationProviderList> automation_provider_list_; |
#endif |