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