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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 422063004: Certificate Transparency: Require SCTs for EV certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: datatype issues addressed. Created 6 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 // to the cache. Playback mode reads data exclusively from the cache. This 1006 // to the cache. Playback mode reads data exclusively from the cache. This
1007 // allows us to record a session into the cache and then replay it at will. 1007 // allows us to record a session into the cache and then replay it at will.
1008 // See also kPlaybackMode. 1008 // See also kPlaybackMode.
1009 const char kRecordMode[] = "record-mode"; 1009 const char kRecordMode[] = "record-mode";
1010 1010
1011 // Remember user proceeds through SSL interstitials for a specified amount of 1011 // Remember user proceeds through SSL interstitials for a specified amount of
1012 // time. In particular, remember these decisions through session restart. The 1012 // time. In particular, remember these decisions through session restart. The
1013 // time delta to remember certificates should be specified in seconds. 1013 // time delta to remember certificates should be specified in seconds.
1014 const char kRememberCertErrorDecisions[] = "remember-cert-error-decisions"; 1014 const char kRememberCertErrorDecisions[] = "remember-cert-error-decisions";
1015 1015
1016 // Requires presence of Certificate Transparency for Extended Validation
1017 // certificates. Enforce the policy detailed at:
1018 // http://dev.chromium.org/Home/chromium-security/certificate-transparency
1019 const char kRequireCTForEV[] = "require-ct-for-ev";
1020
1016 // If set, the app list will forget it has been installed on startup. Note this 1021 // If set, the app list will forget it has been installed on startup. Note this
1017 // doesn't prevent the app list from running, it just makes Chrome think the app 1022 // doesn't prevent the app list from running, it just makes Chrome think the app
1018 // list hasn't been enabled (as in kEnableAppList) yet. 1023 // list hasn't been enabled (as in kEnableAppList) yet.
1019 const char kResetAppListInstallState[] = "reset-app-list-install-state"; 1024 const char kResetAppListInstallState[] = "reset-app-list-install-state";
1020 1025
1021 // Indicates the last session should be restored on startup. This overrides the 1026 // Indicates the last session should be restored on startup. This overrides the
1022 // preferences value and is primarily intended for testing. The value of this 1027 // preferences value and is primarily intended for testing. The value of this
1023 // switch is the number of tabs to wait until loaded before 'load completed' is 1028 // switch is the number of tabs to wait until loaded before 'load completed' is
1024 // sent to the ui_test. 1029 // sent to the ui_test.
1025 const char kRestoreLastSession[] = "restore-last-session"; 1030 const char kRestoreLastSession[] = "restore-last-session";
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 1366
1362 // ----------------------------------------------------------------------------- 1367 // -----------------------------------------------------------------------------
1363 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1368 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1364 // 1369 //
1365 // You were going to just dump your switches here, weren't you? Instead, please 1370 // You were going to just dump your switches here, weren't you? Instead, please
1366 // put them in alphabetical order above, or in order inside the appropriate 1371 // put them in alphabetical order above, or in order inside the appropriate
1367 // ifdef at the bottom. The order should match the header. 1372 // ifdef at the bottom. The order should match the header.
1368 // ----------------------------------------------------------------------------- 1373 // -----------------------------------------------------------------------------
1369 1374
1370 } // namespace switches 1375 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698