| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 int Read(IOBuffer* buf, | 71 int Read(IOBuffer* buf, |
| 72 int buf_len, | 72 int buf_len, |
| 73 const CompletionCallback& callback) override; | 73 const CompletionCallback& callback) override; |
| 74 void StopCaching() override; | 74 void StopCaching() override; |
| 75 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; | 75 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; |
| 76 int64_t GetTotalReceivedBytes() const override; | 76 int64_t GetTotalReceivedBytes() const override; |
| 77 int64_t GetTotalSentBytes() const override; | 77 int64_t GetTotalSentBytes() const override; |
| 78 void DoneReading() override; | 78 void DoneReading() override; |
| 79 const HttpResponseInfo* GetResponseInfo() const override; | 79 const HttpResponseInfo* GetResponseInfo() const override; |
| 80 LoadState GetLoadState() const override; | 80 LoadState GetLoadState() const override; |
| 81 UploadProgress GetUploadProgress() const override; | |
| 82 void SetQuicServerInfo(QuicServerInfo* quic_server_info) override; | 81 void SetQuicServerInfo(QuicServerInfo* quic_server_info) override; |
| 83 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; | 82 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; |
| 84 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override; | 83 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override; |
| 85 void PopulateNetErrorDetails(NetErrorDetails* details) const override; | 84 void PopulateNetErrorDetails(NetErrorDetails* details) const override; |
| 86 void SetPriority(RequestPriority priority) override; | 85 void SetPriority(RequestPriority priority) override; |
| 87 void SetWebSocketHandshakeStreamCreateHelper( | 86 void SetWebSocketHandshakeStreamCreateHelper( |
| 88 WebSocketHandshakeStreamBase::CreateHelper* create_helper) override; | 87 WebSocketHandshakeStreamBase::CreateHelper* create_helper) override; |
| 89 void SetBeforeNetworkStartCallback( | 88 void SetBeforeNetworkStartCallback( |
| 90 const BeforeNetworkStartCallback& callback) override; | 89 const BeforeNetworkStartCallback& callback) override; |
| 91 void SetBeforeHeadersSentCallback( | 90 void SetBeforeHeadersSentCallback( |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 ConnectionAttempts connection_attempts_; | 376 ConnectionAttempts connection_attempts_; |
| 378 IPEndPoint remote_endpoint_; | 377 IPEndPoint remote_endpoint_; |
| 379 // Network error details for this transaction. | 378 // Network error details for this transaction. |
| 380 NetErrorDetails net_error_details_; | 379 NetErrorDetails net_error_details_; |
| 381 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 380 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
| 382 }; | 381 }; |
| 383 | 382 |
| 384 } // namespace net | 383 } // namespace net |
| 385 | 384 |
| 386 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 385 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |