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 GetProvidedTokenBindingWithKey( |
| 63 const scoped_ptr<crypto::ECPrivateKey>& key, |
| 64 std::string* header_out) override; |
62 void Drain(HttpNetworkSession* session) override; | 65 void Drain(HttpNetworkSession* session) override; |
63 void SetPriority(RequestPriority priority) override; | 66 void SetPriority(RequestPriority priority) override; |
64 | 67 |
65 // QuicReliableClientStream::Delegate implementation | 68 // QuicReliableClientStream::Delegate implementation |
66 void OnHeadersAvailable(const SpdyHeaderBlock& headers, | 69 void OnHeadersAvailable(const SpdyHeaderBlock& headers, |
67 size_t frame_len) override; | 70 size_t frame_len) override; |
68 void OnDataAvailable() override; | 71 void OnDataAvailable() override; |
69 void OnClose(QuicErrorCode error) override; | 72 void OnClose(QuicErrorCode error) override; |
70 void OnError(int error) override; | 73 void OnError(int error) override; |
71 bool HasSendHeadersComplete() override; | 74 bool HasSendHeadersComplete() override; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 BoundNetLog stream_net_log_; | 172 BoundNetLog stream_net_log_; |
170 | 173 |
171 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 174 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
172 | 175 |
173 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 176 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
174 }; | 177 }; |
175 | 178 |
176 } // namespace net | 179 } // namespace net |
177 | 180 |
178 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 181 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
OLD | NEW |