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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <list> | 10 #include <list> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 bool IsResponseBodyComplete() const override; | 52 bool IsResponseBodyComplete() const override; |
53 bool IsConnectionReused() const override; | 53 bool IsConnectionReused() const override; |
54 void SetConnectionReused() override; | 54 void SetConnectionReused() override; |
55 bool CanReuseConnection() const override; | 55 bool CanReuseConnection() const override; |
56 int64_t GetTotalReceivedBytes() const override; | 56 int64_t GetTotalReceivedBytes() const override; |
57 int64_t GetTotalSentBytes() const override; | 57 int64_t GetTotalSentBytes() const override; |
58 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; | 58 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; |
59 void GetSSLInfo(SSLInfo* ssl_info) override; | 59 void GetSSLInfo(SSLInfo* ssl_info) override; |
60 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; | 60 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; |
61 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; | 61 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; |
| 62 int GetTokenBindingMessageHeader(std::string* out) override; |
62 void Drain(HttpNetworkSession* session) override; | 63 void Drain(HttpNetworkSession* session) override; |
63 void SetPriority(RequestPriority priority) override; | 64 void SetPriority(RequestPriority priority) override; |
64 | 65 |
65 // QuicReliableClientStream::Delegate implementation | 66 // QuicReliableClientStream::Delegate implementation |
66 void OnHeadersAvailable(const SpdyHeaderBlock& headers, | 67 void OnHeadersAvailable(const SpdyHeaderBlock& headers, |
67 size_t frame_len) override; | 68 size_t frame_len) override; |
68 void OnDataAvailable() override; | 69 void OnDataAvailable() override; |
69 void OnClose(QuicErrorCode error) override; | 70 void OnClose(QuicErrorCode error) override; |
70 void OnError(int error) override; | 71 void OnError(int error) override; |
71 bool HasSendHeadersComplete() override; | 72 bool HasSendHeadersComplete() override; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 BoundNetLog stream_net_log_; | 172 BoundNetLog stream_net_log_; |
172 | 173 |
173 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 174 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
174 | 175 |
175 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 176 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
176 }; | 177 }; |
177 | 178 |
178 } // namespace net | 179 } // namespace net |
179 | 180 |
180 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 181 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
OLD | NEW |