summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-09 16:23:10 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-09 16:23:10 +0000
commit810d6408e8553435b97151805a9ed48ffe8d610e (patch)
treed62eb1b03094529dcf216d489d566ff0d71a5a39 /chrome/common/chrome_switches.cc
parent20a4a446ecc18a143d396f6cb7b16414df59cef3 (diff)
downloadchromium_src-810d6408e8553435b97151805a9ed48ffe8d610e.zip
chromium_src-810d6408e8553435b97151805a9ed48ffe8d610e.tar.gz
chromium_src-810d6408e8553435b97151805a9ed48ffe8d610e.tar.bz2
Some fixes to the OS X Sandbox:
* Added a command line option to enable verbose logging in the Sandbox. This will be useful when we start looking at the information in ChromeBot. * Modified the code that splices the homedir path into the Sandbox file. This code is now only used on 10.6 and no longer uses a regex. * Moved sandbox code out into a sandbox_mac file. * Changed 10.6 seed release references -> 10.6 . BUG=21483 TEST=Browser should launch and display NTP correctly on OS X 10.5 & 10.6 Review URL: http://codereview.chromium.org/242165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 7d0076b..ae52818 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -585,6 +585,12 @@ const wchar_t kEnableSessionStorage[] = L"enable-session-storage";
// Allows debugging of sandboxed processes (see zygote_main_linux.cc).
const wchar_t kAllowSandboxDebugging[] = L"allow-sandbox-debugging";
+#if defined(OS_MACOSX)
+// Cause the OS X sandbox write to syslog every time an access to a resource
+// is denied by the sandbox.
+const wchar_t kEnableSandboxLogging[] = L"enable-sandbox-logging";
+#endif
+
// Enable the seccomp sandbox (Linux only)
const wchar_t kEnableSeccompSandbox[] = L"enable-seccomp-sandbox";