Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4735)

Unified Diff: chrome/nacl/nacl_switches.h

Issue 15957008: Move NaCl related switches to their own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address more comments Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/nacl.gypi ('k') | chrome/nacl/nacl_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/nacl/nacl_switches.h
diff --git a/chrome/nacl/nacl_switches.h b/chrome/nacl/nacl_switches.h
new file mode 100644
index 0000000000000000000000000000000000000000..c1b4fd47509e7583b08552e97c97dbac6b31073d
--- /dev/null
+++ b/chrome/nacl/nacl_switches.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Defines all the command-line switches used by NaCl.
+
+#ifndef CHROME_NACL_NACL_SWITCHES_H_
+#define CHROME_NACL_NACL_SWITCHES_H_
+
+#include "build/build_config.h"
+
+#include "base/base_switches.h"
dmichael (off chromium) 2013/05/30 15:35:19 Actually, I don't see why this is necessary...
yael.aharon1 2013/05/30 16:08:28 You are right, this is not necessary. I copied thi
+
+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 kEnableNaCl[];
+extern const char kEnableNaClDebug[];
+extern const char kEnablePnacl[];
+extern const char kNaClBrokerProcess[];
+extern const char kNaClDebugMask[];
+extern const char kNaClGdb[];
+extern const char kNaClGdbScript[];
+extern const char kNaClLoaderCmdPrefix[];
+extern const char kNaClLoaderProcess[];
+extern const char kPnaclDir[];
+extern const char kTestNaClSandbox[];
+
+} // namespace switches
+
+#endif // CHROME_NACL_NACL_SWITCHES_H_
« no previous file with comments | « chrome/nacl.gypi ('k') | chrome/nacl/nacl_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698