OLD | NEW |
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 Loading... |
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 // time delta to remember certificates should be specified in seconds. |
| 1056 const char kRememberCertErrorDecisions[] = "remember-cert-error-decisions"; |
| 1057 |
1053 // Enables print preview in the renderer. This flag is generated internally by | 1058 // Enables print preview in the renderer. This flag is generated internally by |
1054 // Chrome and does nothing when directly passed to the browser. | 1059 // Chrome and does nothing when directly passed to the browser. |
1055 const char kRendererPrintPreview[] = "renderer-print-preview"; | 1060 const char kRendererPrintPreview[] = "renderer-print-preview"; |
1056 | 1061 |
1057 // If set, the app list will forget it has been installed on startup. Note this | 1062 // 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 | 1063 // 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. | 1064 // list hasn't been enabled (as in kEnableAppList) yet. |
1060 const char kResetAppListInstallState[] = "reset-app-list-install-state"; | 1065 const char kResetAppListInstallState[] = "reset-app-list-install-state"; |
1061 | 1066 |
1062 // Indicates the last session should be restored on startup. This overrides the | 1067 // Indicates the last session should be restored on startup. This overrides the |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1417 | 1422 |
1418 // ----------------------------------------------------------------------------- | 1423 // ----------------------------------------------------------------------------- |
1419 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1424 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1420 // | 1425 // |
1421 // You were going to just dump your switches here, weren't you? Instead, please | 1426 // 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 | 1427 // put them in alphabetical order above, or in order inside the appropriate |
1423 // ifdef at the bottom. The order should match the header. | 1428 // ifdef at the bottom. The order should match the header. |
1424 // ----------------------------------------------------------------------------- | 1429 // ----------------------------------------------------------------------------- |
1425 | 1430 |
1426 } // namespace switches | 1431 } // namespace switches |
OLD | NEW |