summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_process_host.cc
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-03 19:55:07 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-03 19:55:07 +0000
commit172ca98f99787b63436b2f9b48b4419414995c1a (patch)
tree003a69ff60fee7d288fe02062dcd91e88a04c221 /content/browser/plugin_process_host.cc
parent8e3d0cb4061aa988b454785695c8b542f51a9423 (diff)
downloadchromium_src-172ca98f99787b63436b2f9b48b4419414995c1a.zip
chromium_src-172ca98f99787b63436b2f9b48b4419414995c1a.tar.gz
chromium_src-172ca98f99787b63436b2f9b48b4419414995c1a.tar.bz2
[OSX] Pass --enable-sandbox-logging to more sub-processes.
This makes it easier to debug what is being blocked by the sandbox. gpu and renderer processes were already covered, this adds propagation for utility and worker processes, and nacl, pepper and npapi plugin processes. The points to handle were discovered by looking for kNoSandbox cases, which is why NPAPI is on the list, even though we do not sandbox it on OSX at this time. BUG=152327 TEST=--enable-sandbox-logging and look for messages from subprocesses in /var/log/syslog.log Review URL: https://chromiumcodereview.appspot.com/10978037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_process_host.cc')
-rw-r--r--content/browser/plugin_process_host.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc
index ec96877..0a6ef62 100644
--- a/content/browser/plugin_process_host.cc
+++ b/content/browser/plugin_process_host.cc
@@ -226,6 +226,9 @@ bool PluginProcessHost::Init(const webkit::WebPluginInfo& info) {
switches::kDisableLogging,
switches::kEnableDCHECK,
switches::kEnableLogging,
+#if defined(OS_MACOSX)
+ switches::kEnableSandboxLogging,
+#endif
switches::kEnableStatsTable,
switches::kFullMemoryCrashReport,
switches::kLoggingLevel,