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. | 9 // Disables crash throttling for Portable Native Client. |
10 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling"; | 10 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling"; |
11 | 11 |
12 // Disables the installation of Portable Native Client. | |
13 const char kDisablePnaclInstall[] = "disable-pnacl-install"; | |
14 | |
15 // Enables debugging via RSP over a socket. | 12 // Enables debugging via RSP over a socket. |
16 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 13 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
17 | 14 |
18 // Enables Non-SFI mode, in which programs can be run without NaCl's SFI | 15 // Enables Non-SFI mode, in which programs can be run without NaCl's SFI |
19 // sandbox. | 16 // sandbox. |
20 const char kEnableNaClNonSfiMode[] = "enable-nacl-nonsfi-mode"; | 17 const char kEnableNaClNonSfiMode[] = "enable-nacl-nonsfi-mode"; |
21 | 18 |
22 // Value for --type that causes the process to run as a NativeClient broker | 19 // Value for --type that causes the process to run as a NativeClient broker |
23 // (used for launching NaCl loader processes on 64-bit Windows). | 20 // (used for launching NaCl loader processes on 64-bit Windows). |
24 const char kNaClBrokerProcess[] = "nacl-broker"; | 21 const char kNaClBrokerProcess[] = "nacl-broker"; |
(...skipping 21 matching lines...) Expand all Loading... |
46 | 43 |
47 // Value for --type that causes the process to run as a NativeClient loader | 44 // Value for --type that causes the process to run as a NativeClient loader |
48 // for non SFI mode. | 45 // for non SFI mode. |
49 const char kNaClLoaderNonSfiProcess[] = "nacl-loader-nonsfi"; | 46 const char kNaClLoaderNonSfiProcess[] = "nacl-loader-nonsfi"; |
50 | 47 |
51 // Value for --type that causes the process to run as a NativeClient loader | 48 // Value for --type that causes the process to run as a NativeClient loader |
52 // for SFI mode. | 49 // for SFI mode. |
53 const char kNaClLoaderProcess[] = "nacl-loader"; | 50 const char kNaClLoaderProcess[] = "nacl-loader"; |
54 | 51 |
55 } // namespace switches | 52 } // namespace switches |
OLD | NEW |