| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived | 5 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived |
| 6 // from AuthCertificateCallback() in | 6 // from AuthCertificateCallback() in |
| 7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp. | 7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp. |
| 8 | 8 |
| 9 /* ***** BEGIN LICENSE BLOCK ***** | 9 /* ***** BEGIN LICENSE BLOCK ***** |
| 10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 #include <limits> | 62 #include <limits> |
| 63 | 63 |
| 64 #include "base/compiler_specific.h" | 64 #include "base/compiler_specific.h" |
| 65 #include "base/metrics/histogram.h" | 65 #include "base/metrics/histogram.h" |
| 66 #include "base/logging.h" | 66 #include "base/logging.h" |
| 67 #include "base/nss_util.h" | 67 #include "base/nss_util.h" |
| 68 #include "base/string_number_conversions.h" | 68 #include "base/string_number_conversions.h" |
| 69 #include "base/string_util.h" | 69 #include "base/string_util.h" |
| 70 #include "base/stringprintf.h" | 70 #include "base/stringprintf.h" |
| 71 #include "base/thread_restrictions.h" | 71 #include "base/threading/thread_restrictions.h" |
| 72 #include "base/values.h" | 72 #include "base/values.h" |
| 73 #include "net/base/address_list.h" | 73 #include "net/base/address_list.h" |
| 74 #include "net/base/cert_status_flags.h" | 74 #include "net/base/cert_status_flags.h" |
| 75 #include "net/base/cert_verifier.h" | 75 #include "net/base/cert_verifier.h" |
| 76 #include "net/base/connection_type_histograms.h" | 76 #include "net/base/connection_type_histograms.h" |
| 77 #include "net/base/dns_util.h" | 77 #include "net/base/dns_util.h" |
| 78 #include "net/base/dnsrr_resolver.h" | 78 #include "net/base/dnsrr_resolver.h" |
| 79 #include "net/base/dnssec_chain_verifier.h" | 79 #include "net/base/dnssec_chain_verifier.h" |
| 80 #include "net/base/io_buffer.h" | 80 #include "net/base/io_buffer.h" |
| 81 #include "net/base/net_errors.h" | 81 #include "net/base/net_errors.h" |
| (...skipping 2341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2423 case SSL_CONNECTION_VERSION_TLS1_1: | 2423 case SSL_CONNECTION_VERSION_TLS1_1: |
| 2424 UpdateConnectionTypeHistograms(CONNECTION_SSL_TLS1_1); | 2424 UpdateConnectionTypeHistograms(CONNECTION_SSL_TLS1_1); |
| 2425 break; | 2425 break; |
| 2426 case SSL_CONNECTION_VERSION_TLS1_2: | 2426 case SSL_CONNECTION_VERSION_TLS1_2: |
| 2427 UpdateConnectionTypeHistograms(CONNECTION_SSL_TLS1_2); | 2427 UpdateConnectionTypeHistograms(CONNECTION_SSL_TLS1_2); |
| 2428 break; | 2428 break; |
| 2429 }; | 2429 }; |
| 2430 } | 2430 } |
| 2431 | 2431 |
| 2432 } // namespace net | 2432 } // namespace net |
| OLD | NEW |