OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "ios/web/net/request_tracker_impl.h" | 5 #import "ios/web/net/request_tracker_impl.h" |
6 | 6 |
7 #include <pthread.h> | 7 #include <pthread.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/mac/bind_objc_block.h" | 15 #import "base/mac/bind_objc_block.h" |
16 #include "base/mac/scoped_nsobject.h" | 16 #import "base/mac/scoped_nsobject.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/strings/sys_string_conversions.h" | 19 #include "base/strings/sys_string_conversions.h" |
20 #include "base/synchronization/lock.h" | 20 #include "base/synchronization/lock.h" |
21 #import "ios/net/clients/crn_forwarding_network_client.h" | 21 #import "ios/net/clients/crn_forwarding_network_client.h" |
22 #import "ios/net/clients/crn_forwarding_network_client_factory.h" | 22 #import "ios/net/clients/crn_forwarding_network_client_factory.h" |
23 #import "ios/web/history_state_util.h" | 23 #include "ios/web/history_state_util.h" |
24 #import "ios/web/net/crw_request_tracker_delegate.h" | 24 #import "ios/web/net/crw_request_tracker_delegate.h" |
25 #include "ios/web/public/browser_state.h" | 25 #include "ios/web/public/browser_state.h" |
26 #include "ios/web/public/certificate_policy_cache.h" | 26 #include "ios/web/public/certificate_policy_cache.h" |
27 #include "ios/web/public/ssl_status.h" | 27 #include "ios/web/public/ssl_status.h" |
28 #include "ios/web/public/url_util.h" | 28 #include "ios/web/public/url_util.h" |
29 #include "ios/web/public/web_thread.h" | 29 #include "ios/web/public/web_thread.h" |
30 #import "net/base/mac/url_conversions.h" | 30 #import "net/base/mac/url_conversions.h" |
31 #include "net/base/net_errors.h" | 31 #include "net/base/net_errors.h" |
32 #include "net/http/http_response_headers.h" | 32 #include "net/http/http_response_headers.h" |
33 #include "net/url_request/url_request.h" | 33 #include "net/url_request/url_request.h" |
(...skipping 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 | 1257 |
1258 live_requests_.clear(); | 1258 live_requests_.clear(); |
1259 } | 1259 } |
1260 | 1260 |
1261 void RequestTrackerImpl::SetCertificatePolicyCacheForTest( | 1261 void RequestTrackerImpl::SetCertificatePolicyCacheForTest( |
1262 web::CertificatePolicyCache* cache) { | 1262 web::CertificatePolicyCache* cache) { |
1263 policy_cache_ = cache; | 1263 policy_cache_ = cache; |
1264 } | 1264 } |
1265 | 1265 |
1266 } // namespace web | 1266 } // namespace web |
OLD | NEW |