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

Unified Diff: content/browser/utility_process_host.cc

Issue 8071013: Finish moving plugin probing out of process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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/browser/renderer_host/render_message_filter.cc ('k') | webkit/plugins/npapi/plugin_lib_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/utility_process_host.cc
diff --git a/content/browser/utility_process_host.cc b/content/browser/utility_process_host.cc
index 999e47727cd861fa895d6e10a2f53c208d8982ef..d77f25a2a3ad32912b8ea0cf1aa2e894e8d57cee 100644
--- a/content/browser/utility_process_host.cc
+++ b/content/browser/utility_process_host.cc
@@ -12,6 +12,7 @@
#include "content/common/utility_messages.h"
#include "ipc/ipc_switches.h"
#include "ui/base/ui_base_switches.h"
+#include "webkit/plugins/plugin_switches.h"
UtilityProcessHost::Client::Client() {
}
@@ -103,6 +104,8 @@ bool UtilityProcessHost::StartProcess() {
cmd_line->AppendSwitch(switches::kChromeFrame);
if (no_sandbox_ || browser_command_line.HasSwitch(switches::kNoSandbox))
cmd_line->AppendSwitch(switches::kNoSandbox);
+ if (browser_command_line.HasSwitch(switches::kDebugPluginLoading))
+ cmd_line->AppendSwitch(switches::kDebugPluginLoading);
#if defined(OS_POSIX)
// TODO(port): Sandbox this on Linux. Also, zygote this to work with
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | webkit/plugins/npapi/plugin_lib_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698