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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 #include "net/ssl/server_bound_cert_service.h" | 76 #include "net/ssl/server_bound_cert_service.h" |
77 #include "net/url_request/data_protocol_handler.h" | 77 #include "net/url_request/data_protocol_handler.h" |
78 #include "net/url_request/file_protocol_handler.h" | 78 #include "net/url_request/file_protocol_handler.h" |
79 #include "net/url_request/ftp_protocol_handler.h" | 79 #include "net/url_request/ftp_protocol_handler.h" |
80 #include "net/url_request/static_http_user_agent_settings.h" | 80 #include "net/url_request/static_http_user_agent_settings.h" |
81 #include "net/url_request/url_fetcher.h" | 81 #include "net/url_request/url_fetcher.h" |
82 #include "net/url_request/url_request_job_factory_impl.h" | 82 #include "net/url_request/url_request_job_factory_impl.h" |
83 #include "net/url_request/url_request_throttler_manager.h" | 83 #include "net/url_request/url_request_throttler_manager.h" |
84 #include "net/websockets/websocket_job.h" | 84 #include "net/websockets/websocket_job.h" |
85 | 85 |
86 #if defined(OS_WIN) | |
87 #include "win8/util/win8_util.h" | |
88 #endif | |
89 | |
90 #if defined(ENABLE_CONFIGURATION_POLICY) | 86 #if defined(ENABLE_CONFIGURATION_POLICY) |
91 #include "policy/policy_constants.h" | 87 #include "policy/policy_constants.h" |
92 #endif | 88 #endif |
93 | 89 |
94 #if !defined(USE_OPENSSL) | 90 #if !defined(USE_OPENSSL) |
95 #include "net/cert/ct_log_verifier.h" | 91 #include "net/cert/ct_log_verifier.h" |
96 #include "net/cert/multi_log_ct_verifier.h" | 92 #include "net/cert/multi_log_ct_verifier.h" |
97 #endif | 93 #endif |
98 | 94 |
99 #if defined(USE_NSS) || defined(OS_IOS) | 95 #if defined(USE_NSS) || defined(OS_IOS) |
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1238 std::string version_flag = | 1234 std::string version_flag = |
1239 command_line.GetSwitchValueASCII(switches::kQuicVersion); | 1235 command_line.GetSwitchValueASCII(switches::kQuicVersion); |
1240 for (size_t i = 0; i < supported_versions.size(); ++i) { | 1236 for (size_t i = 0; i < supported_versions.size(); ++i) { |
1241 net::QuicVersion version = supported_versions[i]; | 1237 net::QuicVersion version = supported_versions[i]; |
1242 if (net::QuicVersionToString(version) == version_flag) { | 1238 if (net::QuicVersionToString(version) == version_flag) { |
1243 return version; | 1239 return version; |
1244 } | 1240 } |
1245 } | 1241 } |
1246 return net::QUIC_VERSION_UNSUPPORTED; | 1242 return net::QUIC_VERSION_UNSUPPORTED; |
1247 } | 1243 } |
OLD | NEW |