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

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

Issue 7399030: Remove --enable-p2papi flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 5 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/test/ui/ppapi_uitest.cc ('k') | content/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/browser_render_process_host.cc
diff --git a/content/browser/renderer_host/browser_render_process_host.cc b/content/browser/renderer_host/browser_render_process_host.cc
index 734571e9e04c53dde538eeef27573fcd249bbba7..a0430577fe6b228921bcf933ef494674c4c66d00 100644
--- a/content/browser/renderer_host/browser_render_process_host.cc
+++ b/content/browser/renderer_host/browser_render_process_host.cc
@@ -398,8 +398,7 @@ void BrowserRenderProcessHost::CreateMessageFilters() {
widget_helper_.get(), &RenderWidgetHelper::GetNextRoutingID)));
#if defined(ENABLE_P2P_APIS)
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableP2PApi))
- channel_->AddFilter(new P2PSocketDispatcherHost());
+ channel_->AddFilter(new P2PSocketDispatcherHost());
#endif
channel_->AddFilter(new TraceMessageFilter());
@@ -549,9 +548,6 @@ void BrowserRenderProcessHost::PropagateBrowserCommandLineToRenderer(
switches::kEnableGPUClientLogging,
switches::kEnableLogging,
switches::kEnableMediaStream,
-#if defined(ENABLE_P2P_APIS)
- switches::kEnableP2PApi,
-#endif
switches::kEnablePepperTesting,
#if defined(OS_MACOSX)
// Allow this to be set when invoking the browser and relayed along.
« no previous file with comments | « chrome/test/ui/ppapi_uitest.cc ('k') | content/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698