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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 bool IsResponseBodyComplete() const override; | 58 bool IsResponseBodyComplete() const override; |
59 bool IsConnectionReused() const override; | 59 bool IsConnectionReused() const override; |
60 void SetConnectionReused() override; | 60 void SetConnectionReused() override; |
61 bool CanReuseConnection() const override; | 61 bool CanReuseConnection() const override; |
62 int64_t GetTotalReceivedBytes() const override; | 62 int64_t GetTotalReceivedBytes() const override; |
63 int64_t GetTotalSentBytes() const override; | 63 int64_t GetTotalSentBytes() const override; |
64 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; | 64 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; |
65 void GetSSLInfo(SSLInfo* ssl_info) override; | 65 void GetSSLInfo(SSLInfo* ssl_info) override; |
66 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; | 66 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; |
67 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; | 67 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; |
68 Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, | 68 Error GetTokenBindingSignature(crypto::ECPrivateKey* key, |
69 std::vector<uint8_t>* out) override; | 69 TokenBindingType tb_type, |
| 70 std::vector<uint8_t>* out) override; |
70 void Drain(HttpNetworkSession* session) override; | 71 void Drain(HttpNetworkSession* session) override; |
71 void PopulateNetErrorDetails(NetErrorDetails* details) override; | 72 void PopulateNetErrorDetails(NetErrorDetails* details) override; |
72 void SetPriority(RequestPriority priority) override; | 73 void SetPriority(RequestPriority priority) override; |
73 | 74 |
74 // QuicChromiumClientStream::Delegate implementation | 75 // QuicChromiumClientStream::Delegate implementation |
75 void OnHeadersAvailable(const SpdyHeaderBlock& headers, | 76 void OnHeadersAvailable(const SpdyHeaderBlock& headers, |
76 size_t frame_len) override; | 77 size_t frame_len) override; |
77 void OnDataAvailable() override; | 78 void OnDataAvailable() override; |
78 void OnClose() override; | 79 void OnClose() override; |
79 void OnError(int error) override; | 80 void OnError(int error) override; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 LoadTimingInfo::ConnectTiming connect_timing_; | 222 LoadTimingInfo::ConnectTiming connect_timing_; |
222 | 223 |
223 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 224 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
224 | 225 |
225 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 226 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
226 }; | 227 }; |
227 | 228 |
228 } // namespace net | 229 } // namespace net |
229 | 230 |
230 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 231 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
OLD | NEW |