| 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_CHROMIUM_QUIC_HTTP_STREAM_H_ | 5 #ifndef NET_QUIC_CHROMIUM_QUIC_HTTP_STREAM_H_ |
| 6 #define NET_QUIC_CHROMIUM_QUIC_HTTP_STREAM_H_ | 6 #define NET_QUIC_CHROMIUM_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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 AlternativeService* alternative_service) const override; | 68 AlternativeService* alternative_service) const override; |
| 69 void PopulateNetErrorDetails(NetErrorDetails* details) override; | 69 void PopulateNetErrorDetails(NetErrorDetails* details) override; |
| 70 void SetPriority(RequestPriority priority) override; | 70 void SetPriority(RequestPriority priority) override; |
| 71 | 71 |
| 72 // QuicChromiumClientStream::Delegate implementation | 72 // QuicChromiumClientStream::Delegate implementation |
| 73 void OnHeadersAvailable(const SpdyHeaderBlock& headers, | 73 void OnHeadersAvailable(const SpdyHeaderBlock& headers, |
| 74 size_t frame_len) override; | 74 size_t frame_len) override; |
| 75 void OnDataAvailable() override; | 75 void OnDataAvailable() override; |
| 76 void OnClose() override; | 76 void OnClose() override; |
| 77 void OnError(int error) override; | 77 void OnError(int error) override; |
| 78 bool HasSendHeadersComplete() override; | |
| 79 | 78 |
| 80 // QuicChromiumClientSession::Observer implementation | 79 // QuicChromiumClientSession::Observer implementation |
| 81 void OnCryptoHandshakeConfirmed() override; | 80 void OnCryptoHandshakeConfirmed() override; |
| 82 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override; | 81 void OnSuccessfulVersionNegotiation(const QuicVersion& version) override; |
| 83 void OnSessionClosed(int error, bool port_migration_detected) override; | 82 void OnSessionClosed(int error, bool port_migration_detected) override; |
| 84 | 83 |
| 85 // QuicClientPushPromiseIndex::Delegate implementation | 84 // QuicClientPushPromiseIndex::Delegate implementation |
| 86 bool CheckVary(const SpdyHeaderBlock& client_request, | 85 bool CheckVary(const SpdyHeaderBlock& client_request, |
| 87 const SpdyHeaderBlock& promise_request, | 86 const SpdyHeaderBlock& promise_request, |
| 88 const SpdyHeaderBlock& promise_response) override; | 87 const SpdyHeaderBlock& promise_response) override; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 LoadTimingInfo::ConnectTiming connect_timing_; | 233 LoadTimingInfo::ConnectTiming connect_timing_; |
| 235 | 234 |
| 236 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 235 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
| 237 | 236 |
| 238 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 237 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
| 239 }; | 238 }; |
| 240 | 239 |
| 241 } // namespace net | 240 } // namespace net |
| 242 | 241 |
| 243 #endif // NET_QUIC_CHROMIUM_QUIC_HTTP_STREAM_H_ | 242 #endif // NET_QUIC_CHROMIUM_QUIC_HTTP_STREAM_H_ |
| OLD | NEW |