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

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: 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
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..410623302a3d817771cf626e66cd8d44ae009295
--- /dev/null
+++ b/chrome/nacl/nacl_switches.h
@@ -0,0 +1,37 @@
+// 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 Chrome.
+
+#ifndef CHROME_NACL_NACL_SWITCHES_H_
+#define CHROME_NACL_NACL_SWITCHES_H_
+
+#include "build/build_config.h"
+
+#include "base/base_switches.h"
+#include "content/public/common/content_switches.h"
+
+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 kDisableBundledPpapiFlash[];
+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 kPpapiFlashInProcess[];
+extern const char kPpapiFlashPath[];
+extern const char kPpapiFlashVersion[];
+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') | chrome/nacl/nacl_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698