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 113217feaccebb99d3f4fbf81487e93d46e7d220..42eb41fc1251dccd41131a50b6a5eab2dc2778df 100644 |
--- a/chrome/test/base/testing_browser_process.cc |
+++ b/chrome/test/base/testing_browser_process.cc |
@@ -214,7 +214,7 @@ TestingBrowserProcess::extension_event_router_forwarder() { |
} |
NotificationUIManager* TestingBrowserProcess::notification_ui_manager() { |
-#if defined(ENABLE_NOTIFICATIONS) |
+#if defined(ENABLE_NOTIFICATIONS) && !defined(OS_ANDROID) |
if (!notification_ui_manager_.get()) |
notification_ui_manager_.reset( |
NotificationUIManager::Create(local_state())); |
@@ -225,6 +225,11 @@ NotificationUIManager* TestingBrowserProcess::notification_ui_manager() { |
#endif |
} |
+NotificationPlatformBridge* |
+TestingBrowserProcess::notification_platform_bridge() { |
+ return nullptr; |
+} |
+ |
message_center::MessageCenter* TestingBrowserProcess::message_center() { |
return message_center::MessageCenter::Get(); |
} |