Index: chrome/test/base/testing_browser_process.cc |
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc |
index 9418006ebd8435d477c372646db344e6b8ff7d9a..f40d38c0f4e4f0ee3c623929696a1147a26e4318 100644 |
--- a/chrome/test/base/testing_browser_process.cc |
+++ b/chrome/test/base/testing_browser_process.cc |
@@ -13,6 +13,7 @@ |
#include "content/public/browser/notification_service.h" |
#include "net/url_request/url_request_context_getter.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "ui/message_center/message_center.h" |
#if !defined(OS_IOS) |
#include "chrome/browser/media_galleries/media_file_system_registry.h" |
@@ -36,10 +37,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 |
- |
// static |
TestingBrowserProcess* TestingBrowserProcess::GetGlobal() { |
return static_cast<TestingBrowserProcess*>(g_browser_process); |
@@ -200,11 +197,9 @@ NotificationUIManager* TestingBrowserProcess::notification_ui_manager() { |
#endif |
} |
-#if defined(ENABLE_MESSAGE_CENTER) |
message_center::MessageCenter* TestingBrowserProcess::message_center() { |
return message_center::MessageCenter::Get(); |
} |
-#endif |
IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() { |
return NULL; |