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 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 const char kSSLVersionMax[] = "ssl-version-max"; | 1130 const char kSSLVersionMax[] = "ssl-version-max"; |
1131 | 1131 |
1132 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or | 1132 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or |
1133 // "tls1.2"). | 1133 // "tls1.2"). |
1134 const char kSSLVersionMin[] = "ssl-version-min"; | 1134 const char kSSLVersionMin[] = "ssl-version-min"; |
1135 | 1135 |
1136 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or | 1136 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or |
1137 // "tls1.2") that TLS fallback will accept. | 1137 // "tls1.2") that TLS fallback will accept. |
1138 const char kSSLVersionFallbackMin[] = "ssl-version-fallback-min"; | 1138 const char kSSLVersionFallbackMin[] = "ssl-version-fallback-min"; |
1139 | 1139 |
| 1140 // These values aren't switches, but rather the values that kSSLVersionMax, |
| 1141 // kSSLVersionMin and kSSLVersionFallbackMin can have. |
| 1142 const char kSSLVersionSSLv3[] = "ssl3"; |
| 1143 const char kSSLVersionTLSv1[] = "tls1"; |
| 1144 const char kSSLVersionTLSv11[] = "tls1.1"; |
| 1145 const char kSSLVersionTLSv12[] = "tls1.2"; |
| 1146 |
1140 // Starts the browser maximized, regardless of any previous settings. | 1147 // Starts the browser maximized, regardless of any previous settings. |
1141 const char kStartMaximized[] = "start-maximized"; | 1148 const char kStartMaximized[] = "start-maximized"; |
1142 | 1149 |
1143 // Sets the supervised user ID for any loaded or newly created profile to the | 1150 // Sets the supervised user ID for any loaded or newly created profile to the |
1144 // given value. Pass an empty string to mark the profile as non-supervised. | 1151 // given value. Pass an empty string to mark the profile as non-supervised. |
1145 // Used for testing. | 1152 // Used for testing. |
1146 const char kSupervisedUserId[] = "managed-user-id"; | 1153 const char kSupervisedUserId[] = "managed-user-id"; |
1147 | 1154 |
1148 // Used to authenticate requests to the Sync service for supervised users. | 1155 // Used to authenticate requests to the Sync service for supervised users. |
1149 // Setting this switch also causes Sync to be set up for a supervised user. | 1156 // Setting this switch also causes Sync to be set up for a supervised user. |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 | 1377 |
1371 // ----------------------------------------------------------------------------- | 1378 // ----------------------------------------------------------------------------- |
1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1373 // | 1380 // |
1374 // You were going to just dump your switches here, weren't you? Instead, please | 1381 // You were going to just dump your switches here, weren't you? Instead, please |
1375 // put them in alphabetical order above, or in order inside the appropriate | 1382 // put them in alphabetical order above, or in order inside the appropriate |
1376 // ifdef at the bottom. The order should match the header. | 1383 // ifdef at the bottom. The order should match the header. |
1377 // ----------------------------------------------------------------------------- | 1384 // ----------------------------------------------------------------------------- |
1378 | 1385 |
1379 } // namespace switches | 1386 } // namespace switches |
OLD | NEW |