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_QUIC_QUIC_HTTP_STREAM_H_ | 5 #ifndef NET_QUIC_QUIC_HTTP_STREAM_H_ |
6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ | 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 virtual bool CanFindEndOfResponse() const OVERRIDE; | 45 virtual bool CanFindEndOfResponse() const OVERRIDE; |
46 virtual bool IsConnectionReused() const OVERRIDE; | 46 virtual bool IsConnectionReused() const OVERRIDE; |
47 virtual void SetConnectionReused() OVERRIDE; | 47 virtual void SetConnectionReused() OVERRIDE; |
48 virtual bool IsConnectionReusable() const OVERRIDE; | 48 virtual bool IsConnectionReusable() const OVERRIDE; |
49 virtual bool GetLoadTimingInfo( | 49 virtual bool GetLoadTimingInfo( |
50 LoadTimingInfo* load_timing_info) const OVERRIDE; | 50 LoadTimingInfo* load_timing_info) const OVERRIDE; |
51 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; | 51 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; |
52 virtual void GetSSLCertRequestInfo( | 52 virtual void GetSSLCertRequestInfo( |
53 SSLCertRequestInfo* cert_request_info) OVERRIDE; | 53 SSLCertRequestInfo* cert_request_info) OVERRIDE; |
54 virtual bool IsSpdyHttpStream() const OVERRIDE; | 54 virtual bool IsSpdyHttpStream() const OVERRIDE; |
55 virtual void LogNumRttVsBytesMetrics() const OVERRIDE {} | |
56 virtual void Drain(HttpNetworkSession* session) OVERRIDE; | 55 virtual void Drain(HttpNetworkSession* session) OVERRIDE; |
57 | 56 |
58 // QuicReliableClientStream::Delegate implementation | 57 // QuicReliableClientStream::Delegate implementation |
59 virtual int OnSendData() OVERRIDE; | 58 virtual int OnSendData() OVERRIDE; |
60 virtual int OnSendDataComplete(int status, bool* eof) OVERRIDE; | 59 virtual int OnSendDataComplete(int status, bool* eof) OVERRIDE; |
61 virtual int OnDataReceived(const char* data, int length) OVERRIDE; | 60 virtual int OnDataReceived(const char* data, int length) OVERRIDE; |
62 virtual void OnClose(QuicErrorCode error) OVERRIDE; | 61 virtual void OnClose(QuicErrorCode error) OVERRIDE; |
63 virtual void OnError(int error) OVERRIDE; | 62 virtual void OnError(int error) OVERRIDE; |
64 | 63 |
65 private: | 64 private: |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 scoped_refptr<DrainableIOBuffer> request_body_buf_; | 135 scoped_refptr<DrainableIOBuffer> request_body_buf_; |
137 | 136 |
138 BoundNetLog stream_net_log_; | 137 BoundNetLog stream_net_log_; |
139 | 138 |
140 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 139 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
141 }; | 140 }; |
142 | 141 |
143 } // namespace net | 142 } // namespace net |
144 | 143 |
145 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 144 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
OLD | NEW |