summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gpu_process_host.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 01:48:37 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 01:48:37 +0000
commit802a13a0b2fd257938dcd0c7b7ff4f79565331c9 (patch)
tree26ee9878b7003dc7039ed5e3deb8bf888b596283 /chrome/browser/gpu_process_host.cc
parent22de011a33feedc8ac0faea4f0b5aa11683c36ff (diff)
downloadchromium_src-802a13a0b2fd257938dcd0c7b7ff4f79565331c9.zip
chromium_src-802a13a0b2fd257938dcd0c7b7ff4f79565331c9.tar.gz
chromium_src-802a13a0b2fd257938dcd0c7b7ff4f79565331c9.tar.bz2
Mac: Scaffolding for sandboxing GPU process.
The sandbox config allows everything for now; I will put in restrictions in a follow-up CL (which should be small). This CL should have no visible effect (other than changing a few LOG(WARNING) to LOG(ERROR)). BUG=48607 TEST=GPU process still works Review URL: http://codereview.chromium.org/5491001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67939 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gpu_process_host.cc')
-rw-r--r--chrome/browser/gpu_process_host.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/gpu_process_host.cc b/chrome/browser/gpu_process_host.cc
index 7c9d11c..9ecc552 100644
--- a/chrome/browser/gpu_process_host.cc
+++ b/chrome/browser/gpu_process_host.cc
@@ -508,8 +508,13 @@ bool GpuProcessHost::LaunchGpuProcess() {
switches::kDisableLogging,
switches::kEnableAcceleratedDecoding,
switches::kEnableLogging,
+#if defined(OS_MACOSX)
+ switches::kEnableSandboxLogging,
+#endif
switches::kGpuStartupDialog,
switches::kLoggingLevel,
+ switches::kNoGpuSandbox,
+ switches::kNoSandbox,
};
cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
arraysize(kSwitchNames));