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 // NOTE: This code is not shared between Google and Chrome. | 5 // NOTE: This code is not shared between Google and Chrome. |
6 | 6 |
7 #ifndef NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ | 7 #ifndef NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ |
8 #define NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ | 8 #define NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 }; | 56 }; |
57 | 57 |
58 QuicChromiumClientStream(QuicStreamId id, | 58 QuicChromiumClientStream(QuicStreamId id, |
59 QuicClientSessionBase* session, | 59 QuicClientSessionBase* session, |
60 const BoundNetLog& net_log); | 60 const BoundNetLog& net_log); |
61 | 61 |
62 ~QuicChromiumClientStream() override; | 62 ~QuicChromiumClientStream() override; |
63 | 63 |
64 // QuicSpdyStream | 64 // QuicSpdyStream |
65 void OnStreamHeadersComplete(bool fin, size_t frame_len) override; | 65 void OnStreamHeadersComplete(bool fin, size_t frame_len) override; |
| 66 void OnStreamHeaderList(bool fin, |
| 67 size_t frame_len, |
| 68 const QuicHeaderList& header_list) override; |
66 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, | 69 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, |
67 size_t frame_len) override; | 70 size_t frame_len) override; |
68 void OnDataAvailable() override; | 71 void OnDataAvailable() override; |
69 void OnClose() override; | 72 void OnClose() override; |
70 void OnCanWrite() override; | 73 void OnCanWrite() override; |
71 size_t WriteHeaders(const SpdyHeaderBlock& header_block, | 74 size_t WriteHeaders(const SpdyHeaderBlock& header_block, |
72 bool fin, | 75 bool fin, |
73 QuicAckListenerInterface* ack_notifier_delegate) override; | 76 QuicAckListenerInterface* ack_notifier_delegate) override; |
74 SpdyPriority priority() const override; | 77 SpdyPriority priority() const override; |
75 | 78 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 std::deque<base::Closure> delegate_tasks_; | 140 std::deque<base::Closure> delegate_tasks_; |
138 | 141 |
139 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; | 142 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; |
140 | 143 |
141 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); | 144 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); |
142 }; | 145 }; |
143 | 146 |
144 } // namespace net | 147 } // namespace net |
145 | 148 |
146 #endif // NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ | 149 #endif // NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ |
OLD | NEW |