Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: net/spdy/buffered_spdy_framer.h

Issue 2302573002: Revert of Increase maximum size of the HPACK decoder dynamic table to 64 kB. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 const SpdyAltSvcWireFormat::AlternativeServiceVector& 179 const SpdyAltSvcWireFormat::AlternativeServiceVector&
180 altsvc_vector) override; 180 altsvc_vector) override;
181 void OnDataFrameHeader(SpdyStreamId stream_id, 181 void OnDataFrameHeader(SpdyStreamId stream_id,
182 size_t length, 182 size_t length,
183 bool fin) override; 183 bool fin) override;
184 void OnContinuation(SpdyStreamId stream_id, bool end) override; 184 void OnContinuation(SpdyStreamId stream_id, bool end) override;
185 bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) override; 185 bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) override;
186 186
187 // SpdyFramer methods. 187 // SpdyFramer methods.
188 size_t ProcessInput(const char* data, size_t len); 188 size_t ProcessInput(const char* data, size_t len);
189 void UpdateHeaderDecoderTableSize(uint32_t value);
190 void Reset(); 189 void Reset();
191 SpdyFramer::SpdyError error_code() const; 190 SpdyFramer::SpdyError error_code() const;
192 SpdyFramer::SpdyState state() const; 191 SpdyFramer::SpdyState state() const;
193 bool MessageFullyRead(); 192 bool MessageFullyRead();
194 bool HasError(); 193 bool HasError();
195 SpdySerializedFrame* CreateRstStream(SpdyStreamId stream_id, 194 SpdySerializedFrame* CreateRstStream(SpdyStreamId stream_id,
196 SpdyRstStreamStatus status) const; 195 SpdyRstStreamStatus status) const;
197 SpdySerializedFrame* CreateSettings(const SettingsMap& values) const; 196 SpdySerializedFrame* CreateSettings(const SettingsMap& values) const;
198 SpdySerializedFrame* CreatePingFrame(SpdyPingId unique_id, bool is_ack) const; 197 SpdySerializedFrame* CreatePingFrame(SpdyPingId unique_id, bool is_ack) const;
199 SpdySerializedFrame* CreateGoAway(SpdyStreamId last_accepted_stream_id, 198 SpdySerializedFrame* CreateGoAway(SpdyStreamId last_accepted_stream_id,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 std::unique_ptr<GoAwayFields> goaway_fields_; 283 std::unique_ptr<GoAwayFields> goaway_fields_;
285 284
286 std::unique_ptr<HeaderCoalescer> coalescer_; 285 std::unique_ptr<HeaderCoalescer> coalescer_;
287 286
288 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); 287 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer);
289 }; 288 };
290 289
291 } // namespace net 290 } // namespace net
292 291
293 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ 292 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698