Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/base_switches.h"
7 namespace switches {
9 // If the program includes chrome/common/debug_on_start.h, the process will
10 // start the JIT system-registered debugger on itself and will wait for 60
11 // seconds for the debugger to attach to itself. Then a break point will be hit.
12 const wchar_t kDebugOnStart[] = L"debug-on-start";
14 // Will wait for 60 seconds for a debugger to come to attach to the process.
15 const wchar_t kWaitForDebugger[] = L"wait-for-debugger";
17 // Suppresses all error dialogs when present.
18 const wchar_t kNoErrorDialogs[] = L"noerrdialogs";
20 // Disables the crash reporting.
21 const wchar_t kDisableBreakpad[] = L"disable-breakpad";
23 // Generates full memory crash dump.
24 const wchar_t kFullMemoryCrashReport[] = L"full-memory-crash-report";
26 // The value of this switch determines whether the process is started as a
27 // renderer or plugin host. If it's empty, it's the browser.
28 const wchar_t kProcessType[] = L"type";
30 // Enable DCHECKs in release mode.
31 const wchar_t kEnableDCHECK[] = L"enable-dcheck";
33 // Refuse to make HTTP connections and refuse to accept certificate errors.
34 // For more information about the design of this feature, please see
35 //
36 // ForceHTTPS: Protecting High-Security Web Sites from Network Attacks
37 // Collin Jackson and Adam Barth
38 // In Proc. of the 17th International World Wide Web Conference (WWW 2008)
39 //
40 // Available at http://www.adambarth.com/papers/2008/jackson-barth.pdf
41 const wchar_t kForceHTTPS[] = L"force-https";
43 } // namespace switches