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 "net/http/failing_http_transaction_factory.h" | 5 #include "net/http/failing_http_transaction_factory.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "net/base/load_timing_info.h" | 15 #include "net/base/load_timing_info.h" |
16 #include "net/base/net_error_details.h" | 16 #include "net/base/net_error_details.h" |
17 #include "net/base/upload_progress.h" | 17 #include "net/base/upload_progress.h" |
18 #include "net/http/http_response_info.h" | 18 #include "net/http/http_response_info.h" |
19 #include "net/socket/connection_attempts.h" | 19 #include "net/socket/connection_attempts.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 class AuthCredentials; | 23 class AuthCredentials; |
24 class BoundNetLog; | 24 class BoundNetLog; |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 | 214 |
215 HttpCache* FailingHttpTransactionFactory::GetCache() { | 215 HttpCache* FailingHttpTransactionFactory::GetCache() { |
216 return NULL; | 216 return NULL; |
217 } | 217 } |
218 | 218 |
219 HttpNetworkSession* FailingHttpTransactionFactory::GetSession() { | 219 HttpNetworkSession* FailingHttpTransactionFactory::GetSession() { |
220 return session_; | 220 return session_; |
221 } | 221 } |
222 | 222 |
223 } // namespace net | 223 } // namespace net |
OLD | NEW |