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/browser/io_thread.h" | 5 #include "chrome/browser/io_thread.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/base64.h" | 9 #include "base/base64.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 #if defined(ENABLE_CONFIGURATION_POLICY) | 91 #if defined(ENABLE_CONFIGURATION_POLICY) |
92 #include "policy/policy_constants.h" | 92 #include "policy/policy_constants.h" |
93 #endif | 93 #endif |
94 | 94 |
95 #if defined(ENABLE_EXTENSIONS) | 95 #if defined(ENABLE_EXTENSIONS) |
96 #include "chrome/browser/extensions/event_router_forwarder.h" | 96 #include "chrome/browser/extensions/event_router_forwarder.h" |
97 #endif | 97 #endif |
98 | 98 |
99 #if defined(USE_NSS) || defined(OS_IOS) | 99 #if defined(USE_NSS) || defined(OS_IOS) |
100 #include "net/ocsp/nss_ocsp.h" | 100 #include "net/cert_net/nss_ocsp.h" |
101 #endif | 101 #endif |
102 | 102 |
103 #if defined(OS_ANDROID) | 103 #if defined(OS_ANDROID) |
104 #include "base/android/build_info.h" | 104 #include "base/android/build_info.h" |
105 #endif | 105 #endif |
106 | 106 |
107 #if defined(OS_CHROMEOS) | 107 #if defined(OS_CHROMEOS) |
108 #include "chrome/browser/chromeos/net/cert_verify_proc_chromeos.h" | 108 #include "chrome/browser/chromeos/net/cert_verify_proc_chromeos.h" |
109 #include "chromeos/network/host_resolver_impl_chromeos.h" | 109 #include "chromeos/network/host_resolver_impl_chromeos.h" |
110 #endif | 110 #endif |
(...skipping 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1629 net::QuicVersionVector supported_versions = net::QuicSupportedVersions(); | 1629 net::QuicVersionVector supported_versions = net::QuicSupportedVersions(); |
1630 for (size_t i = 0; i < supported_versions.size(); ++i) { | 1630 for (size_t i = 0; i < supported_versions.size(); ++i) { |
1631 net::QuicVersion version = supported_versions[i]; | 1631 net::QuicVersion version = supported_versions[i]; |
1632 if (net::QuicVersionToString(version) == quic_version) { | 1632 if (net::QuicVersionToString(version) == quic_version) { |
1633 return version; | 1633 return version; |
1634 } | 1634 } |
1635 } | 1635 } |
1636 | 1636 |
1637 return net::QUIC_VERSION_UNSUPPORTED; | 1637 return net::QUIC_VERSION_UNSUPPORTED; |
1638 } | 1638 } |
OLD | NEW |