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, | 43 void OnTrailingHeadersComplete(bool fin, size_t frame_len) override; |
44 size_t frame_len, | |
45 const QuicHeaderList& header_list) override; | |
46 | 44 |
47 // Override the base class to handle creation of the push stream. | 45 // Override the base class to handle creation of the push stream. |
48 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, | 46 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, |
49 size_t frame_len) override; | 47 size_t frame_len) override; |
50 | 48 |
51 // Override the base class to handle creation of the push stream. | 49 // Override the base class to handle creation of the push stream. |
52 void OnPromiseHeaderList(QuicStreamId promised_id, | 50 void OnPromiseHeaderList(QuicStreamId promised_id, |
53 size_t frame_len, | 51 size_t frame_len, |
54 const QuicHeaderList& header_list) override; | 52 const QuicHeaderList& header_list) override; |
55 | 53 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 bool allow_bidirectional_data_; | 100 bool allow_bidirectional_data_; |
103 | 101 |
104 QuicClientSession* session_; | 102 QuicClientSession* session_; |
105 | 103 |
106 DISALLOW_COPY_AND_ASSIGN(QuicSpdyClientStream); | 104 DISALLOW_COPY_AND_ASSIGN(QuicSpdyClientStream); |
107 }; | 105 }; |
108 | 106 |
109 } // namespace net | 107 } // namespace net |
110 | 108 |
111 #endif // NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ | 109 #endif // NET_TOOLS_QUIC_QUIC_SPDY_CLIENT_STREAM_H_ |
OLD | NEW |