1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ipc/chromium/src/base/base_switches.cc Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,43 @@ 1.4 +// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1.5 +// Use of this source code is governed by a BSD-style license that can be 1.6 +// found in the LICENSE file. 1.7 + 1.8 +#include "base/base_switches.h" 1.9 + 1.10 +namespace switches { 1.11 + 1.12 +// If the program includes chrome/common/debug_on_start.h, the process will 1.13 +// start the JIT system-registered debugger on itself and will wait for 60 1.14 +// seconds for the debugger to attach to itself. Then a break point will be hit. 1.15 +const wchar_t kDebugOnStart[] = L"debug-on-start"; 1.16 + 1.17 +// Will wait for 60 seconds for a debugger to come to attach to the process. 1.18 +const wchar_t kWaitForDebugger[] = L"wait-for-debugger"; 1.19 + 1.20 +// Suppresses all error dialogs when present. 1.21 +const wchar_t kNoErrorDialogs[] = L"noerrdialogs"; 1.22 + 1.23 +// Disables the crash reporting. 1.24 +const wchar_t kDisableBreakpad[] = L"disable-breakpad"; 1.25 + 1.26 +// Generates full memory crash dump. 1.27 +const wchar_t kFullMemoryCrashReport[] = L"full-memory-crash-report"; 1.28 + 1.29 +// The value of this switch determines whether the process is started as a 1.30 +// renderer or plugin host. If it's empty, it's the browser. 1.31 +const wchar_t kProcessType[] = L"type"; 1.32 + 1.33 +// Enable DCHECKs in release mode. 1.34 +const wchar_t kEnableDCHECK[] = L"enable-dcheck"; 1.35 + 1.36 +// Refuse to make HTTP connections and refuse to accept certificate errors. 1.37 +// For more information about the design of this feature, please see 1.38 +// 1.39 +// ForceHTTPS: Protecting High-Security Web Sites from Network Attacks 1.40 +// Collin Jackson and Adam Barth 1.41 +// In Proc. of the 17th International World Wide Web Conference (WWW 2008) 1.42 +// 1.43 +// Available at http://www.adambarth.com/papers/2008/jackson-barth.pdf 1.44 +const wchar_t kForceHTTPS[] = L"force-https"; 1.45 + 1.46 +} // namespace switches