Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: base/base_switches.cc

Issue 193067: Strict transport security: come out from behind the flag. (Closed)
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/base_switches.h" 5 #include "base/base_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // If the program includes chrome/common/debug_on_start.h, the process will 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 10 // start the JIT system-registered debugger on itself and will wait for 60
(...skipping 16 matching lines...) Expand all
27 // renderer or plugin host. If it's empty, it's the browser. 27 // renderer or plugin host. If it's empty, it's the browser.
28 const wchar_t kProcessType[] = L"type"; 28 const wchar_t kProcessType[] = L"type";
29 29
30 // Enable DCHECKs in release mode. 30 // Enable DCHECKs in release mode.
31 const wchar_t kEnableDCHECK[] = L"enable-dcheck"; 31 const wchar_t kEnableDCHECK[] = L"enable-dcheck";
32 32
33 // Disable win_util::MessageBox. This is useful when running as part of 33 // Disable win_util::MessageBox. This is useful when running as part of
34 // scripts that do not have a user interface. 34 // scripts that do not have a user interface.
35 const wchar_t kNoMessageBox[] = L"no-message-box"; 35 const wchar_t kNoMessageBox[] = L"no-message-box";
36 36
37 // Refuse to make HTTP connections and refuse to accept certificate errors.
38 // For more information about the design of this feature, please see
39 //
40 // ForceHTTPS: Protecting High-Security Web Sites from Network Attacks
41 // Collin Jackson and Adam Barth
42 // In Proc. of the 17th International World Wide Web Conference (WWW 2008)
43 //
44 // Available at http://www.adambarth.com/papers/2008/jackson-barth.pdf
45 const wchar_t kForceHTTPS[] = L"force-https";
46
47 } // namespace switches 37 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698