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"; |
(...skipping 21 matching lines...) Expand all Loading... |
32 // matches any pattern. If the value starts with !, a program will be debugged | 32 // matches any pattern. If the value starts with !, a program will be debugged |
33 // if manifest URL does not match any pattern. | 33 // if manifest URL does not match any pattern. |
34 const char kNaClDebugMask[] = "nacl-debug-mask"; | 34 const char kNaClDebugMask[] = "nacl-debug-mask"; |
35 | 35 |
36 // Native Client GDB debugger that will be launched automatically when needed. | 36 // Native Client GDB debugger that will be launched automatically when needed. |
37 const char kNaClGdb[] = "nacl-gdb"; | 37 const char kNaClGdb[] = "nacl-gdb"; |
38 | 38 |
39 // GDB script to pass to the nacl-gdb debugger at startup. | 39 // GDB script to pass to the nacl-gdb debugger at startup. |
40 const char kNaClGdbScript[] = "nacl-gdb-script"; | 40 const char kNaClGdbScript[] = "nacl-gdb-script"; |
41 | 41 |
42 // Value for --type that causes the process to run as a NativeClient loader. | 42 // Value for --type that causes the process to run as a NativeClient loader |
| 43 // for SFI mode. |
43 const char kNaClLoaderProcess[] = "nacl-loader"; | 44 const char kNaClLoaderProcess[] = "nacl-loader"; |
44 | 45 |
| 46 // Value for --type that causes the process to run as a NativeClient loader |
| 47 // for non SFI mode. |
| 48 const char kNaClLoaderNonSfiProcess[] = "nacl-loader-nonsfi"; |
| 49 |
45 } // namespace switches | 50 } // namespace switches |
OLD | NEW |