| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 bool IsResponseBodyComplete() const override; | 54 bool IsResponseBodyComplete() const override; |
| 55 bool IsConnectionReused() const override; | 55 bool IsConnectionReused() const override; |
| 56 void SetConnectionReused() override; | 56 void SetConnectionReused() override; |
| 57 bool CanReuseConnection() const override; | 57 bool CanReuseConnection() const override; |
| 58 int64_t GetTotalReceivedBytes() const override; | 58 int64_t GetTotalReceivedBytes() const override; |
| 59 int64_t GetTotalSentBytes() const override; | 59 int64_t GetTotalSentBytes() const override; |
| 60 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; | 60 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; |
| 61 void GetSSLInfo(SSLInfo* ssl_info) override; | 61 void GetSSLInfo(SSLInfo* ssl_info) override; |
| 62 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; | 62 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; |
| 63 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; | 63 bool GetRemoteEndpoint(IPEndPoint* endpoint) override; |
| 64 int GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, |
| 65 std::vector<uint8_t>* out) override; |
| 64 void Drain(HttpNetworkSession* session) override; | 66 void Drain(HttpNetworkSession* session) override; |
| 65 void PopulateNetErrorDetails(NetErrorDetails* details) override; | 67 void PopulateNetErrorDetails(NetErrorDetails* details) override; |
| 66 void SetPriority(RequestPriority priority) override; | 68 void SetPriority(RequestPriority priority) override; |
| 67 | 69 |
| 68 // QuicReliableClientStream::Delegate implementation | 70 // QuicReliableClientStream::Delegate implementation |
| 69 void OnHeadersAvailable(const SpdyHeaderBlock& headers, | 71 void OnHeadersAvailable(const SpdyHeaderBlock& headers, |
| 70 size_t frame_len) override; | 72 size_t frame_len) override; |
| 71 void OnDataAvailable() override; | 73 void OnDataAvailable() override; |
| 72 void OnClose(QuicErrorCode error) override; | 74 void OnClose(QuicErrorCode error) override; |
| 73 void OnError(int error) override; | 75 void OnError(int error) override; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 QuicErrorCode quic_connection_error_; | 176 QuicErrorCode quic_connection_error_; |
| 175 | 177 |
| 176 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 178 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
| 177 | 179 |
| 178 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 180 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
| 179 }; | 181 }; |
| 180 | 182 |
| 181 } // namespace net | 183 } // namespace net |
| 182 | 184 |
| 183 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 185 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
| OLD | NEW |