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/test_url_request_interceptor.h" | 5 #include "net/url_request/test_url_request_interceptor.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/threading/sequenced_worker_pool.h" | 8 #include "base/threading/sequenced_worker_pool.h" |
9 #include "base/threading/thread_restrictions.h" | 9 #include "base/threading/thread_restrictions.h" |
10 #include "net/url_request/url_request.h" | 10 #include "net/url_request/url_request.h" |
11 #include "net/url_request/url_request_file_job.h" | 11 #include "net/url_request/url_request_file_job.h" |
12 #include "net/url_request/url_request_filter.h" | 12 #include "net/url_request/url_request_filter.h" |
13 #include "net/url_request/url_request_interceptor.h" | 13 #include "net/url_request/url_request_interceptor.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 LocalHostTestURLRequestInterceptor::LocalHostTestURLRequestInterceptor( | 190 LocalHostTestURLRequestInterceptor::LocalHostTestURLRequestInterceptor( |
191 const scoped_refptr<base::TaskRunner>& network_task_runner, | 191 const scoped_refptr<base::TaskRunner>& network_task_runner, |
192 const scoped_refptr<base::TaskRunner>& worker_task_runner) | 192 const scoped_refptr<base::TaskRunner>& worker_task_runner) |
193 : TestURLRequestInterceptor("http", | 193 : TestURLRequestInterceptor("http", |
194 "localhost", | 194 "localhost", |
195 network_task_runner, | 195 network_task_runner, |
196 worker_task_runner) { | 196 worker_task_runner) { |
197 } | 197 } |
198 | 198 |
199 } // namespace net | 199 } // namespace net |
OLD | NEW |