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