Chromium Code Reviews| 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..cd69d5c52fa90ea96864ec63e0bdf16389f8bc43 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_; |
| + bool created_message_center_; |
| +#if defined(ENABLE_MESSAGE_CENTER) |
|
stevenjb
2013/01/18 19:56:19
Shouldn't we add && !USE_ASH here?
Dmitry Titov
2013/01/18 21:23:00
Done.
While this instance is created on demand and
|
| + // MessageCenter keeps currently displayed UI notifications. |
| + scoped_ptr<message_center::MessageCenter> message_center_; |
| +#endif |
| + |
| #if defined(ENABLE_AUTOMATION) |
| scoped_ptr<AutomationProviderList> automation_provider_list_; |
| #endif |