michael@0: // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: michael@0: #include "base/base_switches.h" michael@0: michael@0: namespace switches { michael@0: michael@0: // If the program includes chrome/common/debug_on_start.h, the process will michael@0: // start the JIT system-registered debugger on itself and will wait for 60 michael@0: // seconds for the debugger to attach to itself. Then a break point will be hit. michael@0: const wchar_t kDebugOnStart[] = L"debug-on-start"; michael@0: michael@0: // Will wait for 60 seconds for a debugger to come to attach to the process. michael@0: const wchar_t kWaitForDebugger[] = L"wait-for-debugger"; michael@0: michael@0: // Suppresses all error dialogs when present. michael@0: const wchar_t kNoErrorDialogs[] = L"noerrdialogs"; michael@0: michael@0: // Disables the crash reporting. michael@0: const wchar_t kDisableBreakpad[] = L"disable-breakpad"; michael@0: michael@0: // Generates full memory crash dump. michael@0: const wchar_t kFullMemoryCrashReport[] = L"full-memory-crash-report"; michael@0: michael@0: // The value of this switch determines whether the process is started as a michael@0: // renderer or plugin host. If it's empty, it's the browser. michael@0: const wchar_t kProcessType[] = L"type"; michael@0: michael@0: // Enable DCHECKs in release mode. michael@0: const wchar_t kEnableDCHECK[] = L"enable-dcheck"; michael@0: michael@0: // Refuse to make HTTP connections and refuse to accept certificate errors. michael@0: // For more information about the design of this feature, please see michael@0: // michael@0: // ForceHTTPS: Protecting High-Security Web Sites from Network Attacks michael@0: // Collin Jackson and Adam Barth michael@0: // In Proc. of the 17th International World Wide Web Conference (WWW 2008) michael@0: // michael@0: // Available at http://www.adambarth.com/papers/2008/jackson-barth.pdf michael@0: const wchar_t kForceHTTPS[] = L"force-https"; michael@0: michael@0: } // namespace switches