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_SPDY_BUFFERED_SPDY_FRAMER_H_ | 5 #ifndef NET_SPDY_BUFFERED_SPDY_FRAMER_H_ |
6 #define NET_SPDY_BUFFERED_SPDY_FRAMER_H_ | 6 #define NET_SPDY_BUFFERED_SPDY_FRAMER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 uint8 credential_slot, | 114 uint8 credential_slot, |
115 SpdyControlFlags flags, | 115 SpdyControlFlags flags, |
116 bool compressed, | 116 bool compressed, |
117 const SpdyHeaderBlock* headers); | 117 const SpdyHeaderBlock* headers); |
118 SpdySynReplyControlFrame* CreateSynReply(SpdyStreamId stream_id, | 118 SpdySynReplyControlFrame* CreateSynReply(SpdyStreamId stream_id, |
119 SpdyControlFlags flags, | 119 SpdyControlFlags flags, |
120 bool compressed, | 120 bool compressed, |
121 const SpdyHeaderBlock* headers); | 121 const SpdyHeaderBlock* headers); |
122 SpdyRstStreamControlFrame* CreateRstStream(SpdyStreamId stream_id, | 122 SpdyRstStreamControlFrame* CreateRstStream(SpdyStreamId stream_id, |
123 SpdyStatusCodes status) const; | 123 SpdyStatusCodes status) const; |
124 SpdySettingsControlFrame* CreateSettings(const SpdySettings& values) const; | 124 SpdySettingsControlFrame* CreateSettings(const SettingsMap& values) const; |
125 SpdyPingControlFrame* CreatePingFrame(uint32 unique_id) const; | 125 SpdyPingControlFrame* CreatePingFrame(uint32 unique_id) const; |
126 SpdyGoAwayControlFrame* CreateGoAway( | 126 SpdyGoAwayControlFrame* CreateGoAway( |
127 SpdyStreamId last_accepted_stream_id, | 127 SpdyStreamId last_accepted_stream_id, |
128 SpdyGoAwayStatus status) const; | 128 SpdyGoAwayStatus status) const; |
129 SpdyHeadersControlFrame* CreateHeaders(SpdyStreamId stream_id, | 129 SpdyHeadersControlFrame* CreateHeaders(SpdyStreamId stream_id, |
130 SpdyControlFlags flags, | 130 SpdyControlFlags flags, |
131 bool compressed, | 131 bool compressed, |
132 const SpdyHeaderBlock* headers); | 132 const SpdyHeaderBlock* headers); |
133 SpdyWindowUpdateControlFrame* CreateWindowUpdate( | 133 SpdyWindowUpdateControlFrame* CreateWindowUpdate( |
134 SpdyStreamId stream_id, | 134 SpdyStreamId stream_id, |
(...skipping 26 matching lines...) Expand all Loading... |
161 SpdyStreamId header_stream_id_; | 161 SpdyStreamId header_stream_id_; |
162 scoped_ptr<SpdyFrame> control_frame_; | 162 scoped_ptr<SpdyFrame> control_frame_; |
163 int frames_received_; | 163 int frames_received_; |
164 | 164 |
165 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); | 165 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); |
166 }; | 166 }; |
167 | 167 |
168 } // namespace net | 168 } // namespace net |
169 | 169 |
170 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ | 170 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ |
OLD | NEW |