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

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

Issue 369703002: Remember user decisions on invalid certificates behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More changes from felt Created 6 years, 5 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 | Annotate | Revision Log
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 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 1043
1044 // Specifies the version of QUIC to use. 1044 // Specifies the version of QUIC to use.
1045 const char kQuicVersion[] = "quic-version"; 1045 const char kQuicVersion[] = "quic-version";
1046 1046
1047 // Chrome supports a playback and record mode. Record mode saves *everything* 1047 // Chrome supports a playback and record mode. Record mode saves *everything*
1048 // to the cache. Playback mode reads data exclusively from the cache. This 1048 // to the cache. Playback mode reads data exclusively from the cache. This
1049 // allows us to record a session into the cache and then replay it at will. 1049 // allows us to record a session into the cache and then replay it at will.
1050 // See also kPlaybackMode. 1050 // See also kPlaybackMode.
1051 const char kRecordMode[] = "record-mode"; 1051 const char kRecordMode[] = "record-mode";
1052 1052
1053 // Remember user proceeds through SSL interstitials for a specified amount of
1054 // time. In particular, remember these decisions through session restart. The
1055 // "Disable" varient implies the "old style" of forgetting decisions on session
1056 // restart. The "None" varient implies a memory of 0 seconds thus proceeds are
1057 // never remembered. There are separate switches for each of these (rather than
1058 // a single switch with a value) to be better compatible with Finch experiment
1059 // forced groups.
1060 const char kRememberCertErrorDecisionsDisable[] =
1061 "disable-remember-cert-error-decisions";
1062 const char kRememberCertErrorDecisionsNone[] =
1063 "enable-remember-cert-error-decisions-none";
1064 const char kRememberCertErrorDecisionsOneDay[] =
1065 "enable-remember-cert-error-decisions-one-day";
1066 const char kRememberCertErrorDecisionsThreeDays[] =
1067 "enable-remember-cert-error-decisions-three-days";
1068 const char kRememberCertErrorDecisionsOneWeek[] =
1069 "enable-remember-cert-error-decisions-one-week";
1070 const char kRememberCertErrorDecisionsOneMonth[] =
1071 "enable-remember-cert-error-decisions-one-month";
1072
1053 // Enables print preview in the renderer. This flag is generated internally by 1073 // Enables print preview in the renderer. This flag is generated internally by
1054 // Chrome and does nothing when directly passed to the browser. 1074 // Chrome and does nothing when directly passed to the browser.
1055 const char kRendererPrintPreview[] = "renderer-print-preview"; 1075 const char kRendererPrintPreview[] = "renderer-print-preview";
1056 1076
1057 // If set, the app list will forget it has been installed on startup. Note this 1077 // If set, the app list will forget it has been installed on startup. Note this
1058 // doesn't prevent the app list from running, it just makes Chrome think the app 1078 // doesn't prevent the app list from running, it just makes Chrome think the app
1059 // list hasn't been enabled (as in kEnableAppList) yet. 1079 // list hasn't been enabled (as in kEnableAppList) yet.
1060 const char kResetAppListInstallState[] = "reset-app-list-install-state"; 1080 const char kResetAppListInstallState[] = "reset-app-list-install-state";
1061 1081
1062 // Indicates the last session should be restored on startup. This overrides the 1082 // Indicates the last session should be restored on startup. This overrides the
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 1437
1418 // ----------------------------------------------------------------------------- 1438 // -----------------------------------------------------------------------------
1419 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1439 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1420 // 1440 //
1421 // You were going to just dump your switches here, weren't you? Instead, please 1441 // You were going to just dump your switches here, weren't you? Instead, please
1422 // put them in alphabetical order above, or in order inside the appropriate 1442 // put them in alphabetical order above, or in order inside the appropriate
1423 // ifdef at the bottom. The order should match the header. 1443 // ifdef at the bottom. The order should match the header.
1424 // ----------------------------------------------------------------------------- 1444 // -----------------------------------------------------------------------------
1425 1445
1426 } // namespace switches 1446 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698