summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorpiman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:40:48 +0000
committerpiman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:40:48 +0000
commit4730db95815ec2cd4d12063a14cff7cbbeb5fe61 (patch)
tree42d41fc0c4a3dc043b1bee04b607c3be9febef4f /chrome/common
parent61b8ad79a502d0b3666305307e3cba9208a6c2e9 (diff)
downloadchromium_src-4730db95815ec2cd4d12063a14cff7cbbeb5fe61.zip
chromium_src-4730db95815ec2cd4d12063a14cff7cbbeb5fe61.tar.gz
chromium_src-4730db95815ec2cd4d12063a14cff7cbbeb5fe61.tar.bz2
linux: add command-line flag to allow debugging of sandboxed processes
Review URL: http://codereview.chromium.org/159124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21248 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc3
-rw-r--r--chrome/common/chrome_switches.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 6528ae1..85b08a1 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -557,4 +557,7 @@ const wchar_t kEnableLocalStorage[] = L"enable-local-storage";
// Enable session storage. Still buggy.
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";
+
} // namespace switches
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 3af9fb2..0727da2 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -215,6 +215,8 @@ extern const wchar_t kEnableLocalStorage[];
extern const wchar_t kEnableSessionStorage[];
+extern const wchar_t kAllowSandboxDebugging[];
+
} // namespace switches
#endif // CHROME_COMMON_CHROME_SWITCHES_H_