OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/nacl/common/nacl_switches.h" | 5 #include "components/nacl/common/nacl_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
| 9 // Disables crash throttling for Portable Native Client. |
| 10 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling"; |
| 11 |
| 12 // Disables the installation of Portable Native Client. |
| 13 const char kDisablePnaclInstall[] = "disable-pnacl-install"; |
| 14 |
9 // Enables debugging via RSP over a socket. | 15 // Enables debugging via RSP over a socket. |
10 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 16 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
11 | 17 |
12 // Causes the process to run as a NativeClient broker | 18 // Causes the process to run as a NativeClient broker |
13 // (used for launching NaCl loader processes on 64-bit Windows). | 19 // (used for launching NaCl loader processes on 64-bit Windows). |
14 const char kNaClBrokerProcess[] = "nacl-broker"; | 20 const char kNaClBrokerProcess[] = "nacl-broker"; |
15 | 21 |
16 // Uses NaCl manifest URL to choose whether NaCl program will be debugged by | 22 // Uses NaCl manifest URL to choose whether NaCl program will be debugged by |
17 // debug stub. | 23 // debug stub. |
18 // Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses | 24 // Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses |
(...skipping 10 matching lines...) Expand all Loading... |
29 // GDB script to pass to the nacl-gdb debugger at startup. | 35 // GDB script to pass to the nacl-gdb debugger at startup. |
30 const char kNaClGdbScript[] = "nacl-gdb-script"; | 36 const char kNaClGdbScript[] = "nacl-gdb-script"; |
31 | 37 |
32 // On POSIX only: the contents of this flag are prepended to the nacl-loader | 38 // On POSIX only: the contents of this flag are prepended to the nacl-loader |
33 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 39 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
34 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix"; | 40 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix"; |
35 | 41 |
36 // Causes the process to run as a NativeClient loader. | 42 // Causes the process to run as a NativeClient loader. |
37 const char kNaClLoaderProcess[] = "nacl-loader"; | 43 const char kNaClLoaderProcess[] = "nacl-loader"; |
38 | 44 |
39 // Disables crash throttling for Portable Native Client. | |
40 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling"; | |
41 | |
42 // Disables the installation of Portable Native Client. | |
43 const char kDisablePnaclInstall[] = "disable-pnacl-install"; | |
44 | |
45 } // namespace switches | 45 } // namespace switches |
OLD | NEW |