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 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1012 // to the cache. Playback mode reads data exclusively from the cache. This | 1012 // to the cache. Playback mode reads data exclusively from the cache. This |
1013 // allows us to record a session into the cache and then replay it at will. | 1013 // allows us to record a session into the cache and then replay it at will. |
1014 // See also kPlaybackMode. | 1014 // See also kPlaybackMode. |
1015 const char kRecordMode[] = "record-mode"; | 1015 const char kRecordMode[] = "record-mode"; |
1016 | 1016 |
1017 // Remember user proceeds through SSL interstitials for a specified amount of | 1017 // Remember user proceeds through SSL interstitials for a specified amount of |
1018 // time. In particular, remember these decisions through session restart. The | 1018 // time. In particular, remember these decisions through session restart. The |
1019 // time delta to remember certificates should be specified in seconds. | 1019 // time delta to remember certificates should be specified in seconds. |
1020 const char kRememberCertErrorDecisions[] = "remember-cert-error-decisions"; | 1020 const char kRememberCertErrorDecisions[] = "remember-cert-error-decisions"; |
1021 | 1021 |
| 1022 // Requires presence of Certificate Transparency for Extended Validation |
| 1023 // certificates. Enforce the policy detailed at: |
| 1024 // http://dev.chromium.org/Home/chromium-security/certificate-transparency |
| 1025 const char kRequireCTForEV[] = "require-ct-for-ev"; |
| 1026 |
1022 // If set, the app list will forget it has been installed on startup. Note this | 1027 // If set, the app list will forget it has been installed on startup. Note this |
1023 // doesn't prevent the app list from running, it just makes Chrome think the app | 1028 // doesn't prevent the app list from running, it just makes Chrome think the app |
1024 // list hasn't been enabled (as in kEnableAppList) yet. | 1029 // list hasn't been enabled (as in kEnableAppList) yet. |
1025 const char kResetAppListInstallState[] = "reset-app-list-install-state"; | 1030 const char kResetAppListInstallState[] = "reset-app-list-install-state"; |
1026 | 1031 |
1027 // Indicates the last session should be restored on startup. This overrides the | 1032 // Indicates the last session should be restored on startup. This overrides the |
1028 // preferences value and is primarily intended for testing. The value of this | 1033 // preferences value and is primarily intended for testing. The value of this |
1029 // switch is the number of tabs to wait until loaded before 'load completed' is | 1034 // switch is the number of tabs to wait until loaded before 'load completed' is |
1030 // sent to the ui_test. | 1035 // sent to the ui_test. |
1031 const char kRestoreLastSession[] = "restore-last-session"; | 1036 const char kRestoreLastSession[] = "restore-last-session"; |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1396 | 1401 |
1397 // ----------------------------------------------------------------------------- | 1402 // ----------------------------------------------------------------------------- |
1398 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1403 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1399 // | 1404 // |
1400 // You were going to just dump your switches here, weren't you? Instead, please | 1405 // You were going to just dump your switches here, weren't you? Instead, please |
1401 // put them in alphabetical order above, or in order inside the appropriate | 1406 // put them in alphabetical order above, or in order inside the appropriate |
1402 // ifdef at the bottom. The order should match the header. | 1407 // ifdef at the bottom. The order should match the header. |
1403 // ----------------------------------------------------------------------------- | 1408 // ----------------------------------------------------------------------------- |
1404 | 1409 |
1405 } // namespace switches | 1410 } // namespace switches |
OLD | NEW |