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 CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/devtools/devtools_network_interceptor.h" | 14 #include "chrome/browser/devtools/devtools_network_interceptor.h" |
15 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
16 #include "net/base/load_states.h" | 16 #include "net/base/load_states.h" |
17 #include "net/base/net_error_details.h" | 17 #include "net/base/net_error_details.h" |
18 #include "net/base/request_priority.h" | 18 #include "net/base/request_priority.h" |
19 #include "net/http/http_transaction.h" | 19 #include "net/http/http_transaction.h" |
20 #include "net/websockets/websocket_handshake_stream_base.h" | 20 #include "net/websockets/websocket_handshake_stream_base.h" |
21 | 21 |
22 class DevToolsNetworkController; | 22 class DevToolsNetworkController; |
23 class DevToolsNetworkUploadDataStream; | 23 class DevToolsNetworkUploadDataStream; |
24 class GURL; | |
25 | 24 |
26 namespace net { | 25 namespace net { |
27 class AuthCredentials; | 26 class AuthCredentials; |
28 class HttpRequestHeaders; | 27 class HttpRequestHeaders; |
29 struct HttpRequestInfo; | 28 struct HttpRequestInfo; |
30 class HttpResponseInfo; | 29 class HttpResponseInfo; |
31 class HttpNetworkSession; | |
32 class IOBuffer; | 30 class IOBuffer; |
33 struct LoadTimingInfo; | 31 struct LoadTimingInfo; |
34 class NetLogWithSource; | 32 class NetLogWithSource; |
35 class X509Certificate; | 33 class X509Certificate; |
36 } // namespace net | 34 } // namespace net |
37 | 35 |
38 namespace test { | 36 namespace test { |
39 class DevToolsNetworkControllerHelper; | 37 class DevToolsNetworkControllerHelper; |
40 } | 38 } |
41 | 39 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 124 |
127 const net::HttpRequestInfo* request_; | 125 const net::HttpRequestInfo* request_; |
128 | 126 |
129 // True if Fail was already invoked. | 127 // True if Fail was already invoked. |
130 bool failed_; | 128 bool failed_; |
131 | 129 |
132 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); | 130 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); |
133 }; | 131 }; |
134 | 132 |
135 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ | 133 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ |
OLD | NEW |