Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6827)

Unified Diff: chrome/test/base/testing_browser_process.cc

Issue 9695043: Guard off two more places for ENABLE_NOTIFICATIONS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b573e38afec0a88ea1555f32794b7d651f4fbd7b..64bee2c4b3d7ab6127d437a6c050f02daab56f2b 100644
--- a/chrome/test/base/testing_browser_process.cc
+++ b/chrome/test/base/testing_browser_process.cc
@@ -134,10 +134,15 @@ TestingBrowserProcess::extension_event_router_forwarder() {
}
NotificationUIManager* TestingBrowserProcess::notification_ui_manager() {
+#if defined(ENABLE_NOTIFICATIONS)
if (!notification_ui_manager_.get())
notification_ui_manager_.reset(
NotificationUIManager::Create(local_state()));
return notification_ui_manager_.get();
+#else
+ NOTIMPLEMENTED();
+ return NULL;
+#endif
}
GoogleURLTracker* TestingBrowserProcess::google_url_tracker() {
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698