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_SPDY_SPDY_HTTP_STREAM_H_ | 5 #ifndef NET_SPDY_SPDY_HTTP_STREAM_H_ |
6 #define NET_SPDY_SPDY_HTTP_STREAM_H_ | 6 #define NET_SPDY_SPDY_HTTP_STREAM_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 virtual bool IsConnectionReused() const OVERRIDE; | 72 virtual bool IsConnectionReused() const OVERRIDE; |
73 | 73 |
74 virtual void SetConnectionReused() OVERRIDE; | 74 virtual void SetConnectionReused() OVERRIDE; |
75 virtual bool IsConnectionReusable() const OVERRIDE; | 75 virtual bool IsConnectionReusable() const OVERRIDE; |
76 virtual bool GetLoadTimingInfo( | 76 virtual bool GetLoadTimingInfo( |
77 LoadTimingInfo* load_timing_info) const OVERRIDE; | 77 LoadTimingInfo* load_timing_info) const OVERRIDE; |
78 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; | 78 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; |
79 virtual void GetSSLCertRequestInfo( | 79 virtual void GetSSLCertRequestInfo( |
80 SSLCertRequestInfo* cert_request_info) OVERRIDE; | 80 SSLCertRequestInfo* cert_request_info) OVERRIDE; |
81 virtual bool IsSpdyHttpStream() const OVERRIDE; | 81 virtual bool IsSpdyHttpStream() const OVERRIDE; |
82 virtual void LogNumRttVsBytesMetrics() const OVERRIDE {} | |
83 virtual void Drain(HttpNetworkSession* session) OVERRIDE; | 82 virtual void Drain(HttpNetworkSession* session) OVERRIDE; |
84 | 83 |
85 // SpdyStream::Delegate implementation. | 84 // SpdyStream::Delegate implementation. |
86 virtual bool OnSendHeadersComplete(int status) OVERRIDE; | 85 virtual bool OnSendHeadersComplete(int status) OVERRIDE; |
87 virtual int OnSendBody() OVERRIDE; | 86 virtual int OnSendBody() OVERRIDE; |
88 virtual int OnSendBodyComplete(int status, bool* eof) OVERRIDE; | 87 virtual int OnSendBodyComplete(int status, bool* eof) OVERRIDE; |
89 virtual int OnResponseReceived(const SpdyHeaderBlock& response, | 88 virtual int OnResponseReceived(const SpdyHeaderBlock& response, |
90 base::Time response_time, | 89 base::Time response_time, |
91 int status) OVERRIDE; | 90 int status) OVERRIDE; |
92 virtual void OnHeadersSent() OVERRIDE; | 91 virtual void OnHeadersSent() OVERRIDE; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 161 |
163 // Is this spdy stream direct to the origin server (or to a proxy). | 162 // Is this spdy stream direct to the origin server (or to a proxy). |
164 bool direct_; | 163 bool direct_; |
165 | 164 |
166 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); | 165 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); |
167 }; | 166 }; |
168 | 167 |
169 } // namespace net | 168 } // namespace net |
170 | 169 |
171 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ | 170 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ |
OLD | NEW |