Index: chrome/browser/browser_process_impl.cc |
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc |
index dca205ef97ab80005d141cc86187fe444ff3b41e..d65c37ac8c06134af553f9b20f0b3e78eb48af35 100644 |
--- a/chrome/browser/browser_process_impl.cc |
+++ b/chrome/browser/browser_process_impl.cc |
@@ -89,6 +89,7 @@ |
#include "net/socket/client_socket_pool_manager.h" |
#include "net/url_request/url_request_context_getter.h" |
#include "ui/base/l10n/l10n_util.h" |
+#include "ui/message_center/message_center.h" |
#if defined(ENABLE_CONFIGURATION_POLICY) |
#include "chrome/browser/policy/browser_policy_connector.h" |
@@ -96,10 +97,6 @@ |
#include "chrome/browser/policy/policy_service_stub.h" |
#endif // defined(ENABLE_CONFIGURATION_POLICY) |
-#if defined(ENABLE_MESSAGE_CENTER) |
-#include "ui/message_center/message_center.h" |
-#endif |
- |
#if defined(OS_WIN) |
#include "base/win/windows_version.h" |
#include "ui/views/focus/view_storage.h" |
@@ -203,9 +200,7 @@ BrowserProcessImpl::BrowserProcessImpl( |
extension_event_router_forwarder_ = new extensions::EventRouterForwarder; |
ExtensionRendererState::GetInstance()->Init(); |
-#if defined(ENABLE_MESSAGE_CENTER) |
message_center::MessageCenter::Initialize(); |
-#endif |
} |
BrowserProcessImpl::~BrowserProcessImpl() { |
@@ -262,9 +257,7 @@ void BrowserProcessImpl::StartTearDown() { |
ExtensionRendererState::GetInstance()->Shutdown(); |
-#if defined(ENABLE_MESSAGE_CENTER) |
message_center::MessageCenter::Shutdown(); |
-#endif |
#if defined(ENABLE_CONFIGURATION_POLICY) |
// The policy providers managed by |browser_policy_connector_| need to shut |
@@ -478,12 +471,10 @@ NotificationUIManager* BrowserProcessImpl::notification_ui_manager() { |
return notification_ui_manager_.get(); |
} |
-#if defined(ENABLE_MESSAGE_CENTER) |
message_center::MessageCenter* BrowserProcessImpl::message_center() { |
DCHECK(CalledOnValidThread()); |
return message_center::MessageCenter::Get(); |
} |
-#endif |
policy::BrowserPolicyConnector* BrowserProcessImpl::browser_policy_connector() { |
DCHECK(CalledOnValidThread()); |