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 "net/url_request/url_request_test_util.h" | 5 #include "net/url_request/url_request_test_util.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
15 #include "base/thread_task_runner_handle.h" | |
16 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
| 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "base/threading/worker_pool.h" | 17 #include "base/threading/worker_pool.h" |
18 #include "net/base/host_port_pair.h" | 18 #include "net/base/host_port_pair.h" |
19 #include "net/cert/cert_verifier.h" | 19 #include "net/cert/cert_verifier.h" |
20 #include "net/cert/ct_verifier.h" | 20 #include "net/cert/ct_verifier.h" |
21 #include "net/dns/mock_host_resolver.h" | 21 #include "net/dns/mock_host_resolver.h" |
22 #include "net/http/http_network_session.h" | 22 #include "net/http/http_network_session.h" |
23 #include "net/http/http_response_headers.h" | 23 #include "net/http/http_response_headers.h" |
24 #include "net/http/http_server_properties_impl.h" | 24 #include "net/http/http_server_properties_impl.h" |
25 #include "net/http/transport_security_state.h" | 25 #include "net/http/transport_security_state.h" |
26 #include "net/ssl/channel_id_service.h" | 26 #include "net/ssl/channel_id_service.h" |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 NetworkDelegate* network_delegate) const { | 656 NetworkDelegate* network_delegate) const { |
657 return main_intercept_job_.release(); | 657 return main_intercept_job_.release(); |
658 } | 658 } |
659 | 659 |
660 void TestJobInterceptor::set_main_intercept_job( | 660 void TestJobInterceptor::set_main_intercept_job( |
661 std::unique_ptr<URLRequestJob> job) { | 661 std::unique_ptr<URLRequestJob> job) { |
662 main_intercept_job_ = std::move(job); | 662 main_intercept_job_ = std::move(job); |
663 } | 663 } |
664 | 664 |
665 } // namespace net | 665 } // namespace net |
OLD | NEW |