summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 22:18:23 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 22:18:23 +0000
commit528d9e3a6c6831387ee1ba34a28b9486dce31465 (patch)
tree951c4a93bb8e92ec41523da562d33586ff49f024 /chrome/common/chrome_switches.cc
parent1407b6eecf2fe8475e52ed628ac4ad57e1f0c1c0 (diff)
downloadchromium_src-528d9e3a6c6831387ee1ba34a28b9486dce31465.zip
chromium_src-528d9e3a6c6831387ee1ba34a28b9486dce31465.tar.gz
chromium_src-528d9e3a6c6831387ee1ba34a28b9486dce31465.tar.bz2
Add debug switches for NaCl to chrome. These switches will propogate through the broker all the way to the NaCl sel loader.
The switches enable debugging of the NEXE, and allow port/IP configuration. Changes to NaCl will be in the NaCl repository. BUG=http://code.google.com/p/nativeclient/issues/detail?id=728 TEST=none NOTE: Try server for linux only failed however run of -b linux at a later time passed. However, presubmit is still showing a linux failure warning. Review URL: http://codereview.chromium.org/3184023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index c232c8d..b2c3073 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -439,6 +439,9 @@ const char kEnableMonitorProfile[] = "enable-monitor-profile";
// (internally adds kInternalNaCl and lEnableGpuPlugin to the command line).
const char kEnableNaCl[] = "enable-nacl";
+// Enables debugging via RSP over a socket.
+const char kEnableNaClDebug[] = "enable-nacl-debug";
+
// Enable Native Web Worker support.
const char kEnableNativeWebWorkers[] = "enable-native-web-workers";
@@ -712,6 +715,12 @@ const char kMessageLoopHistogrammer[] = "message-loop-histogrammer";
// and performance tests.
const char kMetricsRecordingOnly[] = "metrics-recording-only";
+// Sets the default IP address (interface) for the stub (normally 127.0.0.1).
+const char kNaClDebugIP[] = "nacl-debug-ip";
+
+// Sets the default port range for debugging.
+const char kNaClDebugPorts[] = "nacl-debug-ports";
+
// Causes the process to run as a NativeClient broker
// (used for launching NaCl loader processes on 64-bit Windows).
const char kNaClBrokerProcess[] = "nacl-broker";