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

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

Issue 10919075: Move android mediaplayer from render process to browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing comments Created 8 years, 3 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
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 694091f1e0cd1455288d01c0f46a8d83656dc080..bbaed84447de3174b634d1b6aa4aa50f14dc07bc 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -804,12 +804,13 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kInProcessWebGL,
switches::kJavaScriptFlags,
switches::kLoggingLevel,
- switches::kOldCheckboxStyle,
#if defined(OS_ANDROID)
+ switches::kMediaPlayerInRenderProcess,
switches::kNetworkCountryIso,
#endif
switches::kNoReferrers,
switches::kNoSandbox,
+ switches::kOldCheckboxStyle,
switches::kPpapiOutOfProcess,
switches::kRegisterPepperPlugins,
switches::kRendererAssertTest,
@@ -836,6 +837,9 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
if (GetBrowserContext()->IsOffTheRecord() &&
!browser_cmd.HasSwitch(switches::kDisableDatabases)) {
renderer_cmd->AppendSwitch(switches::kDisableDatabases);
+#if defined(OS_ANDROID)
+ renderer_cmd->AppendSwitch(switches::kDisableMediaHistoryLogging);
+#endif
}
}

Powered by Google App Engine
This is Rietveld 408576698