From 802a13a0b2fd257938dcd0c7b7ff4f79565331c9 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Thu, 2 Dec 2010 01:48:37 +0000 Subject: 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 --- chrome/common/chrome_switches.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chrome/common/chrome_switches.cc') diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index dab23be..7c7fb23 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -823,6 +823,9 @@ const char kNoExperiments[] = "no-experiments"; // you're for some reason tempted to pass them both. const char kNoFirstRun[] = "no-first-run"; +// Runs just the GPU process outside the sandbox. +const char kNoGpuSandbox[] = "no-gpu-sandbox"; + // Support a separate switch that enables the v8 playback extension. // The extension causes javascript calls to Date.now() and Math.random() // to return consistent values, such that subsequent loads of the same @@ -840,7 +843,7 @@ const char kNoProxyServer[] = "no-proxy-server"; // Don't send HTTP-Referer headers. const char kNoReferrers[] = "no-referrers"; -// Runs the renderer outside the sandbox. +// Disables the sandbox for all process types that are normally sandboxed. const char kNoSandbox[] = "no-sandbox"; // Does not automatically open a browser window on startup (used when launching -- cgit v1.1