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 #include "ios/web/net/request_tracker_impl.h" |
6 | 6 |
7 #include <pthread.h> | 7 #include <pthread.h> |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
8 | 10 |
9 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
10 #include "base/location.h" | 12 #include "base/location.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
12 #include "base/mac/bind_objc_block.h" | 14 #include "base/mac/bind_objc_block.h" |
13 #include "base/mac/scoped_nsobject.h" | 15 #include "base/mac/scoped_nsobject.h" |
| 16 #include "base/macros.h" |
14 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
15 #include "base/strings/sys_string_conversions.h" | 18 #include "base/strings/sys_string_conversions.h" |
16 #include "base/synchronization/lock.h" | 19 #include "base/synchronization/lock.h" |
17 #import "ios/net/clients/crn_forwarding_network_client.h" | 20 #import "ios/net/clients/crn_forwarding_network_client.h" |
18 #import "ios/net/clients/crn_forwarding_network_client_factory.h" | 21 #import "ios/net/clients/crn_forwarding_network_client_factory.h" |
19 #import "ios/web/crw_network_activity_indicator_manager.h" | 22 #import "ios/web/crw_network_activity_indicator_manager.h" |
20 #import "ios/web/history_state_util.h" | 23 #import "ios/web/history_state_util.h" |
21 #import "ios/web/net/crw_request_tracker_delegate.h" | 24 #import "ios/web/net/crw_request_tracker_delegate.h" |
22 #include "ios/web/public/browser_state.h" | 25 #include "ios/web/public/browser_state.h" |
23 #include "ios/web/public/cert_store.h" | 26 #include "ios/web/public/cert_store.h" |
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1301 })); | 1304 })); |
1302 } | 1305 } |
1303 } | 1306 } |
1304 | 1307 |
1305 void RequestTrackerImpl::SetCertificatePolicyCacheForTest( | 1308 void RequestTrackerImpl::SetCertificatePolicyCacheForTest( |
1306 web::CertificatePolicyCache* cache) { | 1309 web::CertificatePolicyCache* cache) { |
1307 policy_cache_ = cache; | 1310 policy_cache_ = cache; |
1308 } | 1311 } |
1309 | 1312 |
1310 } // namespace web | 1313 } // namespace web |
OLD | NEW |