| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 const net::CompletionCallback& callback) override; | 86 const net::CompletionCallback& callback) override; |
| 87 int RestartWithAuth(const net::AuthCredentials& credentials, | 87 int RestartWithAuth(const net::AuthCredentials& credentials, |
| 88 const net::CompletionCallback& callback) override; | 88 const net::CompletionCallback& callback) override; |
| 89 bool IsReadyToRestartForAuth() override; | 89 bool IsReadyToRestartForAuth() override; |
| 90 | 90 |
| 91 int Read(net::IOBuffer* buf, | 91 int Read(net::IOBuffer* buf, |
| 92 int buf_len, | 92 int buf_len, |
| 93 const net::CompletionCallback& callback) override; | 93 const net::CompletionCallback& callback) override; |
| 94 void StopCaching() override; | 94 void StopCaching() override; |
| 95 bool GetFullRequestHeaders(net::HttpRequestHeaders* headers) const override; | 95 bool GetFullRequestHeaders(net::HttpRequestHeaders* headers) const override; |
| 96 int64 GetTotalReceivedBytes() const override; | 96 int64_t GetTotalReceivedBytes() const override; |
| 97 int64_t GetTotalSentBytes() const override; | 97 int64_t GetTotalSentBytes() const override; |
| 98 void DoneReading() override; | 98 void DoneReading() override; |
| 99 const net::HttpResponseInfo* GetResponseInfo() const override; | 99 const net::HttpResponseInfo* GetResponseInfo() const override; |
| 100 net::LoadState GetLoadState() const override; | 100 net::LoadState GetLoadState() const override; |
| 101 net::UploadProgress GetUploadProgress() const override; | 101 net::UploadProgress GetUploadProgress() const override; |
| 102 void SetQuicServerInfo(net::QuicServerInfo* quic_server_info) override; | 102 void SetQuicServerInfo(net::QuicServerInfo* quic_server_info) override; |
| 103 bool GetLoadTimingInfo(net::LoadTimingInfo* load_timing_info) const override; | 103 bool GetLoadTimingInfo(net::LoadTimingInfo* load_timing_info) const override; |
| 104 void SetPriority(net::RequestPriority priority) override; | 104 void SetPriority(net::RequestPriority priority) override; |
| 105 void SetWebSocketHandshakeStreamCreateHelper( | 105 void SetWebSocketHandshakeStreamCreateHelper( |
| 106 net::WebSocketHandshakeStreamBase::CreateHelper* create_helper) override; | 106 net::WebSocketHandshakeStreamBase::CreateHelper* create_helper) override; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 int throttled_result_; | 157 int throttled_result_; |
| 158 int64_t throttled_byte_count_; | 158 int64_t throttled_byte_count_; |
| 159 CallbackType callback_type_; | 159 CallbackType callback_type_; |
| 160 net::CompletionCallback proxy_callback_; | 160 net::CompletionCallback proxy_callback_; |
| 161 net::CompletionCallback callback_; | 161 net::CompletionCallback callback_; |
| 162 | 162 |
| 163 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); | 163 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkTransaction); |
| 164 }; | 164 }; |
| 165 | 165 |
| 166 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ | 166 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_TRANSACTION_H_ |
| OLD | NEW |