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 OnInitialHeadersComplete(bool fin, | |
67 size_t frame_len, | |
68 const QuicHeaderList& header_list) override; | |
69 void OnTrailingHeadersComplete(bool fin, | |
70 size_t frame_len, | |
71 const QuicHeaderList& header_list) override; | |
72 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, | 66 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, |
73 size_t frame_len) override; | 67 size_t frame_len) override; |
74 void OnDataAvailable() override; | 68 void OnDataAvailable() override; |
75 void OnClose() override; | 69 void OnClose() override; |
76 void OnCanWrite() override; | 70 void OnCanWrite() override; |
77 size_t WriteHeaders(const SpdyHeaderBlock& header_block, | 71 size_t WriteHeaders(const SpdyHeaderBlock& header_block, |
78 bool fin, | 72 bool fin, |
79 QuicAckListenerInterface* ack_notifier_delegate) override; | 73 QuicAckListenerInterface* ack_notifier_delegate) override; |
80 SpdyPriority priority() const override; | 74 SpdyPriority priority() const override; |
81 | 75 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 std::deque<base::Closure> delegate_tasks_; | 137 std::deque<base::Closure> delegate_tasks_; |
144 | 138 |
145 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; | 139 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; |
146 | 140 |
147 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); | 141 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); |
148 }; | 142 }; |
149 | 143 |
150 } // namespace net | 144 } // namespace net |
151 | 145 |
152 #endif // NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ | 146 #endif // NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ |
OLD | NEW |