Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index 64cb4e884a39274e817d1ebb82fa6f159878b08f..641115e4fcff2c5e2be399c21a9c73d40f3ae461 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -912,6 +912,33 @@ const char kMetricsRecordingOnly[] = "metrics-recording-only"; |
// Enables multiprofile Chrome. |
const char kMultiProfiles[] = "multi-profiles"; |
+// Causes the process to run as a NativeClient broker |
+// (used for launching NaCl loader processes on 64-bit Windows). |
+const char kNaClBrokerProcess[] = "nacl-broker"; |
+ |
+// Uses NaCl manifest URL to choose whether NaCl program will be debugged by |
+// debug stub. |
+// Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses |
+// the same syntax as patterns in Chrome extension manifest. The only difference |
+// is that * scheme matches all schemes instead of matching only http and https. |
+// If the value doesn't start with !, a program will be debugged if manifest URL |
+// matches any pattern. If the value starts with !, a program will be debugged |
+// if manifest URL does not match any pattern. |
+const char kNaClDebugMask[] = "nacl-debug-mask"; |
+ |
+// Native Client GDB debugger that will be launched automatically when needed. |
+const char kNaClGdb[] = "nacl-gdb"; |
+ |
+// GDB script to pass to the nacl-gdb debugger at startup. |
+const char kNaClGdbScript[] = "nacl-gdb-script"; |
+ |
+// Causes the process to run as a NativeClient loader. |
+const char kNaClLoaderProcess[] = "nacl-loader"; |
+ |
+// On POSIX only: the contents of this flag are prepended to the nacl-loader |
+// command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
+const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix"; |
+ |
// List of native messaging hosts outside of the default location. Used for |
// tests. The value must be comma-separate lists of key-value pairs separated |
// equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json". |
@@ -1384,6 +1411,9 @@ const char kTabCapture[] = "enable-tab-capture"; |
// Passes the name of the current running automated test to Chrome. |
const char kTestName[] = "test-name"; |
+// Runs the security test for the NaCl loader sandbox. |
+const char kTestNaClSandbox[] = "test-nacl-sandbox"; |
+ |
// Type of the current test harness ("browser" or "ui"). |
const char kTestType[] = "test-type"; |