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

Unified Diff: content/renderer/render_view_impl.cc

Issue 8396043: Allow building without notification support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable notification interactive UI test. Created 9 years, 2 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 | « content/content_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index a0840fbc706d373b09da8aad02abd5eff1fdbbc0..a224e353fc4bb6b6d527336d0183865e27ba7cf3 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -361,7 +361,12 @@ RenderViewImpl::RenderViewImpl(gfx::NativeViewId parent_hwnd,
}
intents_dispatcher_ = new IntentsDispatcher(this);
+
+#if defined(ENABLE_NOTIFICATIONS)
notification_provider_ = new NotificationProvider(this);
+#else
+ notification_provider_ = NULL;
+#endif
RenderThread::Get()->AddRoute(routing_id_, this);
// Take a reference on behalf of the RenderThread. This will be balanced
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698