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

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

Issue 2169503002: Remove flip_server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « net/net.gyp ('k') | 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 Reset(); 189 void Reset();
190 SpdyFramer::SpdyError error_code() const; 190 SpdyFramer::SpdyError error_code() const;
191 SpdyFramer::SpdyState state() const; 191 SpdyFramer::SpdyState state() const;
192 bool MessageFullyRead(); 192 bool MessageFullyRead();
193 bool HasError(); 193 bool HasError();
194 SpdySerializedFrame* CreateSynStream(SpdyStreamId stream_id,
195 SpdyStreamId associated_stream_id,
196 SpdyPriority priority,
197 SpdyControlFlags flags,
198 SpdyHeaderBlock headers);
199 SpdySerializedFrame* CreateSynReply(SpdyStreamId stream_id,
200 SpdyControlFlags flags,
201 SpdyHeaderBlock headers);
202 SpdySerializedFrame* CreateRstStream(SpdyStreamId stream_id, 194 SpdySerializedFrame* CreateRstStream(SpdyStreamId stream_id,
203 SpdyRstStreamStatus status) const; 195 SpdyRstStreamStatus status) const;
204 SpdySerializedFrame* CreateSettings(const SettingsMap& values) const; 196 SpdySerializedFrame* CreateSettings(const SettingsMap& values) const;
205 SpdySerializedFrame* CreatePingFrame(SpdyPingId unique_id, bool is_ack) const; 197 SpdySerializedFrame* CreatePingFrame(SpdyPingId unique_id, bool is_ack) const;
206 SpdySerializedFrame* CreateGoAway(SpdyStreamId last_accepted_stream_id, 198 SpdySerializedFrame* CreateGoAway(SpdyStreamId last_accepted_stream_id,
207 SpdyGoAwayStatus status, 199 SpdyGoAwayStatus status,
208 base::StringPiece debug_data) const; 200 base::StringPiece debug_data) const;
209 SpdySerializedFrame* CreateHeaders(SpdyStreamId stream_id, 201 SpdySerializedFrame* CreateHeaders(SpdyStreamId stream_id,
210 SpdyControlFlags flags, 202 SpdyControlFlags flags,
211 int weight, 203 int weight,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 std::unique_ptr<GoAwayFields> goaway_fields_; 283 std::unique_ptr<GoAwayFields> goaway_fields_;
292 284
293 std::unique_ptr<HeaderCoalescer> coalescer_; 285 std::unique_ptr<HeaderCoalescer> coalescer_;
294 286
295 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); 287 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer);
296 }; 288 };
297 289
298 } // namespace net 290 } // namespace net
299 291
300 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ 292 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698