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

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: 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 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 1036
1037 // Specifies the version of QUIC to use. 1037 // Specifies the version of QUIC to use.
1038 const char kQuicVersion[] = "quic-version"; 1038 const char kQuicVersion[] = "quic-version";
1039 1039
1040 // Chrome supports a playback and record mode. Record mode saves *everything* 1040 // Chrome supports a playback and record mode. Record mode saves *everything*
1041 // to the cache. Playback mode reads data exclusively from the cache. This 1041 // to the cache. Playback mode reads data exclusively from the cache. This
1042 // allows us to record a session into the cache and then replay it at will. 1042 // allows us to record a session into the cache and then replay it at will.
1043 // See also kPlaybackMode. 1043 // See also kPlaybackMode.
1044 const char kRecordMode[] = "record-mode"; 1044 const char kRecordMode[] = "record-mode";
1045 1045
1046 // Remember user proceeds through SSL interstitials for a specified amount of
1047 // time. In particular, remember these decisions through session restart. The
1048 // time delta to remember certificates should be specified in seconds.
1049 const char kRememberCertErrorDecisions[] = "remember-cert-error-decisions";
1050
1046 // Enables print preview in the renderer. This flag is generated internally by 1051 // Enables print preview in the renderer. This flag is generated internally by
1047 // Chrome and does nothing when directly passed to the browser. 1052 // Chrome and does nothing when directly passed to the browser.
1048 const char kRendererPrintPreview[] = "renderer-print-preview"; 1053 const char kRendererPrintPreview[] = "renderer-print-preview";
1049 1054
1050 // If set, the app list will forget it has been installed on startup. Note this 1055 // If set, the app list will forget it has been installed on startup. Note this
1051 // doesn't prevent the app list from running, it just makes Chrome think the app 1056 // doesn't prevent the app list from running, it just makes Chrome think the app
1052 // list hasn't been enabled (as in kEnableAppList) yet. 1057 // list hasn't been enabled (as in kEnableAppList) yet.
1053 const char kResetAppListInstallState[] = "reset-app-list-install-state"; 1058 const char kResetAppListInstallState[] = "reset-app-list-install-state";
1054 1059
1055 // Indicates the last session should be restored on startup. This overrides the 1060 // Indicates the last session should be restored on startup. This overrides the
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1410 1415
1411 // ----------------------------------------------------------------------------- 1416 // -----------------------------------------------------------------------------
1412 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1417 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1413 // 1418 //
1414 // You were going to just dump your switches here, weren't you? Instead, please 1419 // You were going to just dump your switches here, weren't you? Instead, please
1415 // put them in alphabetical order above, or in order inside the appropriate 1420 // put them in alphabetical order above, or in order inside the appropriate
1416 // ifdef at the bottom. The order should match the header. 1421 // ifdef at the bottom. The order should match the header.
1417 // ----------------------------------------------------------------------------- 1422 // -----------------------------------------------------------------------------
1418 1423
1419 } // namespace switches 1424 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698