Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 1139013002: Completely remove SSLv3 support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 1023
1024 // Specifies the number of seconds between sending batches of feedback to 1024 // Specifies the number of seconds between sending batches of feedback to
1025 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This 1025 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This
1026 // switch is for temporary testing only. 1026 // switch is for temporary testing only.
1027 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by 1027 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by
1028 // August 2013. 1028 // August 2013.
1029 const char kSpellingServiceFeedbackIntervalSeconds[] = 1029 const char kSpellingServiceFeedbackIntervalSeconds[] =
1030 "spelling-service-feedback-interval-seconds"; 1030 "spelling-service-feedback-interval-seconds";
1031 #endif 1031 #endif
1032 1032
1033 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1033 // Specifies the maximum SSL/TLS version ("tls1", "tls1.1", or "tls1.2").
1034 // "tls1.2").
1035 const char kSSLVersionMax[] = "ssl-version-max"; 1034 const char kSSLVersionMax[] = "ssl-version-max";
1036 1035
1037 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1036 // Specifies the minimum SSL/TLS version ("tls1", "tls1.1", or "tls1.2").
1038 // "tls1.2").
1039 const char kSSLVersionMin[] = "ssl-version-min"; 1037 const char kSSLVersionMin[] = "ssl-version-min";
1040 1038
1041 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1039 // Specifies the minimum SSL/TLS version ("tls1", "tls1.1", or "tls1.2") that
1042 // "tls1.2") that TLS fallback will accept. 1040 // TLS fallback will accept.
1043 const char kSSLVersionFallbackMin[] = "ssl-version-fallback-min"; 1041 const char kSSLVersionFallbackMin[] = "ssl-version-fallback-min";
1044 1042
1045 // These values aren't switches, but rather the values that kSSLVersionMax, 1043 // These values aren't switches, but rather the values that kSSLVersionMax,
1046 // kSSLVersionMin and kSSLVersionFallbackMin can have. 1044 // kSSLVersionMin and kSSLVersionFallbackMin can have.
1047 const char kSSLVersionSSLv3[] = "ssl3";
1048 const char kSSLVersionTLSv1[] = "tls1"; 1045 const char kSSLVersionTLSv1[] = "tls1";
1049 const char kSSLVersionTLSv11[] = "tls1.1"; 1046 const char kSSLVersionTLSv11[] = "tls1.1";
1050 const char kSSLVersionTLSv12[] = "tls1.2"; 1047 const char kSSLVersionTLSv12[] = "tls1.2";
1051 1048
1052 // Starts the browser maximized, regardless of any previous settings. 1049 // Starts the browser maximized, regardless of any previous settings.
1053 const char kStartMaximized[] = "start-maximized"; 1050 const char kStartMaximized[] = "start-maximized";
1054 1051
1055 // Sets the supervised user ID for any loaded or newly created profile to the 1052 // Sets the supervised user ID for any loaded or newly created profile to the
1056 // given value. Pass an empty string to mark the profile as non-supervised. 1053 // given value. Pass an empty string to mark the profile as non-supervised.
1057 // Used for testing. 1054 // Used for testing.
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 1369
1373 // ----------------------------------------------------------------------------- 1370 // -----------------------------------------------------------------------------
1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1371 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1375 // 1372 //
1376 // You were going to just dump your switches here, weren't you? Instead, please 1373 // You were going to just dump your switches here, weren't you? Instead, please
1377 // put them in alphabetical order above, or in order inside the appropriate 1374 // put them in alphabetical order above, or in order inside the appropriate
1378 // ifdef at the bottom. The order should match the header. 1375 // ifdef at the bottom. The order should match the header.
1379 // ----------------------------------------------------------------------------- 1376 // -----------------------------------------------------------------------------
1380 1377
1381 } // namespace switches 1378 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698