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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 11414180: Add a gyp flag to allow removing dependency on ppapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index a32a14f3e91261ac5f481f4ebbdb7253164eeb46..80f8e6bc724357b7f2c5f41c5b6fa6c14e9b567d 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -567,6 +567,7 @@ void RenderProcessHostImpl::CreateMessageFilters() {
#if defined(ENABLE_WEBRTC)
channel_->AddFilter(new MediaStreamDispatcherHost(GetID()));
#endif
+#if defined(ENABLE_PPAPI)
channel_->AddFilter(
GetContentClient()->browser()->AllowPepperPrivateFileAPI() ?
new PepperUnsafeFileMessageFilter(
@@ -575,6 +576,7 @@ void RenderProcessHostImpl::CreateMessageFilters() {
new PepperFileMessageFilter(GetID()));
channel_->AddFilter(new PepperMessageFilter(PepperMessageFilter::RENDERER,
GetID(), browser_context));
+#endif
#if defined(ENABLE_INPUT_SPEECH)
channel_->AddFilter(new InputTagSpeechDispatcherHost(
GetID(), storage_partition_impl_->GetURLRequestContext(),

Powered by Google App Engine
This is Rietveld 408576698