// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/nacl/common/nacl_switches.h" namespace switches { // Disables crash throttling for Portable Native Client. const char kDisablePnaclCrashThrottling[] = …; // Enables debugging via RSP over a socket. const char kEnableNaClDebug[] = …; // Force use of the Subzero as the PNaCl translator instead of LLC. const char kForcePNaClSubzero[] = …; // Uses NaCl manifest URL to choose whether NaCl program will be debugged by // debug stub. // Switch value format: [!]pattern1,pattern2,...,patternN. Each pattern uses // the same syntax as patterns in Chrome extension manifest. The only difference // is that * scheme matches all schemes instead of matching only http and https. // If the value doesn't start with !, a program will be debugged if manifest URL // matches any pattern. If the value starts with !, a program will be debugged // if manifest URL does not match any pattern. const char kNaClDebugMask[] = …; // GDB script to pass to the nacl-gdb debugger at startup. const char kNaClGdbScript[] = …; // Native Client GDB debugger that will be launched automatically when needed. const char kNaClGdb[] = …; // Value for --type that causes the process to run as a NativeClient loader // for SFI mode. const char kNaClLoaderProcess[] = …; // Sets NACLVERBOSITY to enable verbose logging. // This should match the string used in chrome/browser/about_flags.cc const char kVerboseLoggingInNacl[] = …; const char kVerboseLoggingInNaclChoiceLow[] = …; const char kVerboseLoggingInNaclChoiceMedium[] = …; const char kVerboseLoggingInNaclChoiceHigh[] = …; const char kVerboseLoggingInNaclChoiceHighest[] = …; const char kVerboseLoggingInNaclChoiceDisabled[] = …; } // namespace switches