summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 00:52:14 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 00:52:14 +0000
commit052f1d48dd75d470ece2b0df27da7304bfba1bcd (patch)
tree6b9451d475ae34f2b3273730e130d0e07390acf1 /chrome/common/chrome_switches.cc
parent4adf2b8090bef783e8ba9c444fce7153063756a7 (diff)
downloadchromium_src-052f1d48dd75d470ece2b0df27da7304bfba1bcd.zip
chromium_src-052f1d48dd75d470ece2b0df27da7304bfba1bcd.tar.gz
chromium_src-052f1d48dd75d470ece2b0df27da7304bfba1bcd.tar.bz2
POSIX: add command line option to launch renderers in a wrapper
For example, ./Hammer/chrome --renderer-cmd-prefix="gdb --args" Review URL: http://codereview.chromium.org/21190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 1e5a622..78ad8d3 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -371,4 +371,8 @@ const wchar_t kEnableVideo[] = L"enable-video";
// Pass the name of the current running automated test to Chrome.
const wchar_t kTestName[] = L"test-name";
+// On POSIX only: the contents of this flag are prepended to the renderer
+// command line. (Useful values might be "valgrind" or "gdb --args")
+const wchar_t kRendererCmdPrefix[] = L"renderer-cmd-prefix";
+
} // namespace switches