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 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 | 1017 |
1018 // Specifies the version of QUIC to use. | 1018 // Specifies the version of QUIC to use. |
1019 const char kQuicVersion[] = "quic-version"; | 1019 const char kQuicVersion[] = "quic-version"; |
1020 | 1020 |
1021 // Chrome supports a playback and record mode. Record mode saves *everything* | 1021 // Chrome supports a playback and record mode. Record mode saves *everything* |
1022 // to the cache. Playback mode reads data exclusively from the cache. This | 1022 // to the cache. Playback mode reads data exclusively from the cache. This |
1023 // allows us to record a session into the cache and then replay it at will. | 1023 // allows us to record a session into the cache and then replay it at will. |
1024 // See also kPlaybackMode. | 1024 // See also kPlaybackMode. |
1025 const char kRecordMode[] = "record-mode"; | 1025 const char kRecordMode[] = "record-mode"; |
1026 | 1026 |
| 1027 // Remember user proceeds through SSL interstitials for a specified amount of |
| 1028 // time. In particular, remember these decisions through session restart. The |
| 1029 // time delta to remember certificates should be specified in seconds. |
| 1030 const char kRememberCertErrorDecisions[] = "remember-cert-error-decisions"; |
| 1031 |
1027 // Enables print preview in the renderer. This flag is generated internally by | 1032 // Enables print preview in the renderer. This flag is generated internally by |
1028 // Chrome and does nothing when directly passed to the browser. | 1033 // Chrome and does nothing when directly passed to the browser. |
1029 const char kRendererPrintPreview[] = "renderer-print-preview"; | 1034 const char kRendererPrintPreview[] = "renderer-print-preview"; |
1030 | 1035 |
1031 // If set, the app list will forget it has been installed on startup. Note this | 1036 // If set, the app list will forget it has been installed on startup. Note this |
1032 // doesn't prevent the app list from running, it just makes Chrome think the app | 1037 // doesn't prevent the app list from running, it just makes Chrome think the app |
1033 // list hasn't been enabled (as in kEnableAppList) yet. | 1038 // list hasn't been enabled (as in kEnableAppList) yet. |
1034 const char kResetAppListInstallState[] = "reset-app-list-install-state"; | 1039 const char kResetAppListInstallState[] = "reset-app-list-install-state"; |
1035 | 1040 |
1036 // Indicates the last session should be restored on startup. This overrides the | 1041 // Indicates the last session should be restored on startup. This overrides the |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1369 | 1374 |
1370 // ----------------------------------------------------------------------------- | 1375 // ----------------------------------------------------------------------------- |
1371 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1376 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1372 // | 1377 // |
1373 // You were going to just dump your switches here, weren't you? Instead, please | 1378 // You were going to just dump your switches here, weren't you? Instead, please |
1374 // put them in alphabetical order above, or in order inside the appropriate | 1379 // put them in alphabetical order above, or in order inside the appropriate |
1375 // ifdef at the bottom. The order should match the header. | 1380 // ifdef at the bottom. The order should match the header. |
1376 // ----------------------------------------------------------------------------- | 1381 // ----------------------------------------------------------------------------- |
1377 | 1382 |
1378 } // namespace switches | 1383 } // namespace switches |
OLD | NEW |