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

Side by Side Diff: components/nacl/common/nacl_switches.cc

Issue 17379019: Seperate NaCl switches to their own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move nacl_switches to components Created 7 years, 6 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 unified diff | Download patch
« no previous file with comments | « components/nacl/common/nacl_switches.h ('k') | components/nacl_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/nacl/common/nacl_switches.h"
6
7 namespace switches {
8
9 // Causes the process to run as a NativeClient broker
10 // (used for launching NaCl loader processes on 64-bit Windows).
11 const char kNaClBrokerProcess[] = "nacl-broker";
12
13 // Uses NaCl manifest URL to choose whether NaCl program will be debugged by
14 // debug stub.
15 // Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses
16 // the same syntax as patterns in Chrome extension manifest. The only difference
17 // is that * scheme matches all schemes instead of matching only http and https.
18 // If the value doesn't start with !, a program will be debugged if manifest URL
19 // matches any pattern. If the value starts with !, a program will be debugged
20 // if manifest URL does not match any pattern.
21 const char kNaClDebugMask[] = "nacl-debug-mask";
22
23 // Native Client GDB debugger that will be launched automatically when needed.
24 const char kNaClGdb[] = "nacl-gdb";
25
26 // GDB script to pass to the nacl-gdb debugger at startup.
27 const char kNaClGdbScript[] = "nacl-gdb-script";
28
29 // On POSIX only: the contents of this flag are prepended to the nacl-loader
30 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
31 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix";
32
33 // Causes the process to run as a NativeClient loader.
34 const char kNaClLoaderProcess[] = "nacl-loader";
35
36 // Runs the security test for the NaCl loader sandbox.
37 const char kTestNaClSandbox[] = "test-nacl-sandbox";
38
39 } // namespace switches
OLDNEW
« no previous file with comments | « components/nacl/common/nacl_switches.h ('k') | components/nacl_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698