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 "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 void ThrottleFinished() override; | 60 void ThrottleFinished() override; |
61 void GetSendEndTiming(base::TimeTicks* send_end) override; | 61 void GetSendEndTiming(base::TimeTicks* send_end) override; |
62 | 62 |
63 // HttpTransaction methods: | 63 // HttpTransaction methods: |
64 int Start(const net::HttpRequestInfo* request, | 64 int Start(const net::HttpRequestInfo* request, |
65 const net::CompletionCallback& callback, | 65 const net::CompletionCallback& callback, |
66 const net::BoundNetLog& net_log) override; | 66 const net::BoundNetLog& net_log) override; |
67 int RestartIgnoringLastError( | 67 int RestartIgnoringLastError( |
68 const net::CompletionCallback& callback) override; | 68 const net::CompletionCallback& callback) override; |
69 int RestartWithCertificate(net::X509Certificate* client_cert, | 69 int RestartWithCertificate(net::X509Certificate* client_cert, |
| 70 net::SSLPrivateKey* client_private_key, |
70 const net::CompletionCallback& callback) override; | 71 const net::CompletionCallback& callback) override; |
71 int RestartWithAuth(const net::AuthCredentials& credentials, | 72 int RestartWithAuth(const net::AuthCredentials& credentials, |
72 const net::CompletionCallback& callback) override; | 73 const net::CompletionCallback& callback) override; |
73 bool IsReadyToRestartForAuth() override; | 74 bool IsReadyToRestartForAuth() override; |
74 | 75 |
75 int Read(net::IOBuffer* buf, | 76 int Read(net::IOBuffer* buf, |
76 int buf_len, | 77 int buf_len, |
77 const net::CompletionCallback& callback) override; | 78 const net::CompletionCallback& callback) override; |
78 void StopCaching() override; | 79 void StopCaching() override; |
79 bool GetFullRequestHeaders(net::HttpRequestHeaders* headers) const override; | 80 bool GetFullRequestHeaders(net::HttpRequestHeaders* headers) const override; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 int throttled_result_; | 145 int throttled_result_; |
145 int64_t throttled_byte_count_; | 146 int64_t throttled_byte_count_; |
146 CallbackType callback_type_; | 147 CallbackType callback_type_; |
147 net::CompletionCallback proxy_callback_; | 148 net::CompletionCallback proxy_callback_; |
148 net::CompletionCallback callback_; | 149 net::CompletionCallback callback_; |
149 | 150 |
150 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); | 151 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); |
151 }; | 152 }; |
152 | 153 |
153 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ | 154 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ |
OLD | NEW |