summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authoryael.aharon@intel.com <yael.aharon@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-08 02:19:34 +0000
committeryael.aharon@intel.com <yael.aharon@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-08 02:19:34 +0000
commit67e76874e36f1be9c66f2c5f9a399741be959e5c (patch)
tree2e58b662161fb4925e8371415e9a689f6c657727 /components
parent7d51123031f2ecfe082cb95947ce37351b3733e1 (diff)
downloadchromium_src-67e76874e36f1be9c66f2c5f9a399741be959e5c.zip
chromium_src-67e76874e36f1be9c66f2c5f9a399741be959e5c.tar.gz
chromium_src-67e76874e36f1be9c66f2c5f9a399741be959e5c.tar.bz2
Move kEnableNaClDebug to nacl_switches.
This is part of an effort to componentize NaCl code. BUG=244791 Review URL: https://chromiumcodereview.appspot.com/18145011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r--components/nacl/common/nacl_switches.cc3
-rw-r--r--components/nacl/common/nacl_switches.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/components/nacl/common/nacl_switches.cc b/components/nacl/common/nacl_switches.cc
index d2a01d5..b9db537 100644
--- a/components/nacl/common/nacl_switches.cc
+++ b/components/nacl/common/nacl_switches.cc
@@ -6,6 +6,9 @@
namespace switches {
+// Enables debugging via RSP over a socket.
+const char kEnableNaClDebug[] = "enable-nacl-debug";
+
// Causes the process to run as a NativeClient broker
// (used for launching NaCl loader processes on 64-bit Windows).
const char kNaClBrokerProcess[] = "nacl-broker";
diff --git a/components/nacl/common/nacl_switches.h b/components/nacl/common/nacl_switches.h
index 132ac7a..8b12206 100644
--- a/components/nacl/common/nacl_switches.h
+++ b/components/nacl/common/nacl_switches.h
@@ -11,6 +11,7 @@ namespace switches {
// All switches in alphabetical order. The switches should be documented
// alongside the definition of their values in the .cc file.
+extern const char kEnableNaClDebug[];
extern const char kNaClBrokerProcess[];
extern const char kNaClDebugMask[];
extern const char kNaClGdb[];