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 #ifndef NET_FAILING_HTTP_TRANSACTION_FACTORY_H_ | 5 #ifndef NET_FAILING_HTTP_TRANSACTION_FACTORY_H_ |
6 #define NET_FAILING_HTTP_TRANSACTION_FACTORY_H_ | 6 #define NET_FAILING_HTTP_TRANSACTION_FACTORY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
| 11 #include "net/base/net_export.h" |
11 #include "net/base/request_priority.h" | 12 #include "net/base/request_priority.h" |
12 #include "net/http/http_transaction.h" | 13 #include "net/http/http_transaction.h" |
13 #include "net/http/http_transaction_factory.h" | 14 #include "net/http/http_transaction_factory.h" |
14 | 15 |
15 namespace net { | 16 namespace net { |
16 | 17 |
17 class HttpCache; | 18 class HttpCache; |
18 class HttpNetworkSession; | 19 class HttpNetworkSession; |
19 | 20 |
20 // Creates transactions that always (asynchronously) return a specified | 21 // Creates transactions that always (asynchronously) return a specified |
(...skipping 12 matching lines...) Expand all Loading... |
33 HttpNetworkSession* GetSession() override; | 34 HttpNetworkSession* GetSession() override; |
34 | 35 |
35 private: | 36 private: |
36 HttpNetworkSession* session_; | 37 HttpNetworkSession* session_; |
37 Error error_; | 38 Error error_; |
38 }; | 39 }; |
39 | 40 |
40 } // namespace net | 41 } // namespace net |
41 | 42 |
42 #endif // NET_FAILING_HTTP_TRANSACTION_FACTORY_H_ | 43 #endif // NET_FAILING_HTTP_TRANSACTION_FACTORY_H_ |
OLD | NEW |