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 // This file declares HttpCache::Transaction, a private class of HttpCache so | 5 // This file declares HttpCache::Transaction, a private class of HttpCache so |
| 6 // it should only be included by http_cache.cc | 6 // it should only be included by http_cache.cc |
| 7 | 7 |
| 8 #ifndef NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 8 #ifndef NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
| 9 #define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 9 #define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
| 10 | 10 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 int buf_len, | 119 int buf_len, |
| 120 const CompletionCallback& callback) OVERRIDE; | 120 const CompletionCallback& callback) OVERRIDE; |
| 121 virtual void StopCaching() OVERRIDE; | 121 virtual void StopCaching() OVERRIDE; |
| 122 virtual bool GetFullRequestHeaders( | 122 virtual bool GetFullRequestHeaders( |
| 123 HttpRequestHeaders* headers) const OVERRIDE; | 123 HttpRequestHeaders* headers) const OVERRIDE; |
| 124 virtual int64 GetTotalReceivedBytes() const OVERRIDE; | 124 virtual int64 GetTotalReceivedBytes() const OVERRIDE; |
| 125 virtual void DoneReading() OVERRIDE; | 125 virtual void DoneReading() OVERRIDE; |
| 126 virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; | 126 virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; |
| 127 virtual LoadState GetLoadState() const OVERRIDE; | 127 virtual LoadState GetLoadState() const OVERRIDE; |
| 128 virtual UploadProgress GetUploadProgress(void) const OVERRIDE; | 128 virtual UploadProgress GetUploadProgress(void) const OVERRIDE; |
| 129 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
Done.
| |
| 129 virtual bool GetLoadTimingInfo( | 130 virtual bool GetLoadTimingInfo( |
| 130 LoadTimingInfo* load_timing_info) const OVERRIDE; | 131 LoadTimingInfo* load_timing_info) const OVERRIDE; |
| 131 virtual void SetPriority(RequestPriority priority) OVERRIDE; | 132 virtual void SetPriority(RequestPriority priority) OVERRIDE; |
| 132 virtual void SetWebSocketHandshakeStreamCreateHelper( | 133 virtual void SetWebSocketHandshakeStreamCreateHelper( |
| 133 net::WebSocketHandshakeStreamBase::CreateHelper* create_helper) OVERRIDE; | 134 net::WebSocketHandshakeStreamBase::CreateHelper* create_helper) OVERRIDE; |
| 134 virtual void SetBeforeNetworkStartCallback( | 135 virtual void SetBeforeNetworkStartCallback( |
| 135 const BeforeNetworkStartCallback& callback) OVERRIDE; | 136 const BeforeNetworkStartCallback& callback) OVERRIDE; |
| 136 virtual int ResumeNetworkStart() OVERRIDE; | 137 virtual int ResumeNetworkStart() OVERRIDE; |
| 137 | 138 |
| 138 private: | 139 private: |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 442 websocket_handshake_stream_base_create_helper_; | 443 websocket_handshake_stream_base_create_helper_; |
| 443 | 444 |
| 444 BeforeNetworkStartCallback before_network_start_callback_; | 445 BeforeNetworkStartCallback before_network_start_callback_; |
| 445 | 446 |
| 446 DISALLOW_COPY_AND_ASSIGN(Transaction); | 447 DISALLOW_COPY_AND_ASSIGN(Transaction); |
| 447 }; | 448 }; |
| 448 | 449 |
| 449 } // namespace net | 450 } // namespace net |
| 450 | 451 |
| 451 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 452 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
| OLD | NEW |