Chromium Code Reviews| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 60 int buf_len, | 60 int buf_len, |
| 61 const CompletionCallback& callback) OVERRIDE; | 61 const CompletionCallback& callback) OVERRIDE; |
| 62 virtual void StopCaching() OVERRIDE {} | 62 virtual void StopCaching() OVERRIDE {} |
| 63 virtual bool GetFullRequestHeaders( | 63 virtual bool GetFullRequestHeaders( |
| 64 HttpRequestHeaders* headers) const OVERRIDE; | 64 HttpRequestHeaders* headers) const OVERRIDE; |
| 65 virtual int64 GetTotalReceivedBytes() const OVERRIDE; | 65 virtual int64 GetTotalReceivedBytes() const OVERRIDE; |
| 66 virtual void DoneReading() OVERRIDE {} | 66 virtual void DoneReading() OVERRIDE {} |
| 67 virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; | 67 virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; |
| 68 virtual LoadState GetLoadState() const OVERRIDE; | 68 virtual LoadState GetLoadState() const OVERRIDE; |
| 69 virtual UploadProgress GetUploadProgress() const OVERRIDE; | 69 virtual UploadProgress GetUploadProgress() const OVERRIDE; |
| 70 virtual void SetQuicServerInfo(QuicServerInfo* quic_server_info) OVERRIDE {}; | |
|
wtc
2014/01/24 22:50:17
Should we define this method in the .cc file, like
ramant (doing other things)
2014/01/24 23:26:06
Changed other methods too.
| |
| 70 virtual bool GetLoadTimingInfo( | 71 virtual bool GetLoadTimingInfo( |
| 71 LoadTimingInfo* load_timing_info) const OVERRIDE; | 72 LoadTimingInfo* load_timing_info) const OVERRIDE; |
| 72 virtual void SetPriority(RequestPriority priority) OVERRIDE; | 73 virtual void SetPriority(RequestPriority priority) OVERRIDE; |
| 73 virtual void SetWebSocketHandshakeStreamCreateHelper( | 74 virtual void SetWebSocketHandshakeStreamCreateHelper( |
| 74 WebSocketHandshakeStreamBase::CreateHelper* create_helper) OVERRIDE; | 75 WebSocketHandshakeStreamBase::CreateHelper* create_helper) OVERRIDE; |
| 75 virtual void SetBeforeNetworkStartCallback( | 76 virtual void SetBeforeNetworkStartCallback( |
| 76 const BeforeNetworkStartCallback& callback) OVERRIDE; | 77 const BeforeNetworkStartCallback& callback) OVERRIDE; |
| 77 virtual int ResumeNetworkStart() OVERRIDE; | 78 virtual int ResumeNetworkStart() OVERRIDE; |
| 78 | 79 |
| 79 // HttpStreamRequest::Delegate methods: | 80 // HttpStreamRequest::Delegate methods: |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 338 websocket_handshake_stream_base_create_helper_; | 339 websocket_handshake_stream_base_create_helper_; |
| 339 | 340 |
| 340 BeforeNetworkStartCallback before_network_start_callback_; | 341 BeforeNetworkStartCallback before_network_start_callback_; |
| 341 | 342 |
| 342 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 343 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
| 343 }; | 344 }; |
| 344 | 345 |
| 345 } // namespace net | 346 } // namespace net |
| 346 | 347 |
| 347 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 348 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |