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_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ | 5 #ifndef NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ |
6 #define NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ | 6 #define NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <sys/types.h> | 9 #include <sys/types.h> |
10 #include <string> | 10 #include <string> |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 // Override the base class to parse and store headers. | 34 // Override the base class to parse and store headers. |
35 void OnInitialHeadersComplete(bool fin, size_t frame_len) override; | 35 void OnInitialHeadersComplete(bool fin, size_t frame_len) override; |
36 | 36 |
37 // Override the base class to parse and store headers. | 37 // Override the base class to parse and store headers. |
38 void OnInitialHeadersComplete(bool fin, | 38 void OnInitialHeadersComplete(bool fin, |
39 size_t frame_len, | 39 size_t frame_len, |
40 const QuicHeaderList& header_list) override; | 40 const QuicHeaderList& header_list) override; |
41 | 41 |
42 // Override the base class to parse and store trailers. | 42 // Override the base class to parse and store trailers. |
43 void OnTrailingHeadersComplete(bool fin, size_t frame_len) override; | 43 void OnTrailingHeadersComplete(bool fin, |
| 44 size_t frame_len, |
| 45 const QuicHeaderList& header_list) override; |
44 | 46 |
45 // Override the base class to handle creation of the push stream. | 47 // Override the base class to handle creation of the push stream. |
46 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, | 48 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, |
47 size_t frame_len) override; | 49 size_t frame_len) override; |
48 | 50 |
49 // Override the base class to handle creation of the push stream. | 51 // Override the base class to handle creation of the push stream. |
50 void OnPromiseHeaderList(QuicStreamId promised_id, | 52 void OnPromiseHeaderList(QuicStreamId promised_id, |
51 size_t frame_len, | 53 size_t frame_len, |
52 const QuicHeaderList& header_list) override; | 54 const QuicHeaderList& header_list) override; |
53 | 55 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 bool allow_bidirectional_data_; | 102 bool allow_bidirectional_data_; |
101 | 103 |
102 QuicClientSession* session_; | 104 QuicClientSession* session_; |
103 | 105 |
104 DISALLOW_COPY_AND_ASSIGN(QuicSpdyClientStream); | 106 DISALLOW_COPY_AND_ASSIGN(QuicSpdyClientStream); |
105 }; | 107 }; |
106 | 108 |
107 } // namespace net | 109 } // namespace net |
108 | 110 |
109 #endif // NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ | 111 #endif // NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ |
OLD | NEW |