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

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

Issue 22159003: DO NOT COMMIT: More hacks to get HTTP/2 working Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update for draft 06 Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_http_stream.cc ('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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual void OnWindowUpdate(SpdyStreamId stream_id, 147 virtual void OnWindowUpdate(SpdyStreamId stream_id,
148 uint32 delta_window_size) OVERRIDE; 148 uint32 delta_window_size) OVERRIDE;
149 virtual void OnPushPromise(SpdyStreamId stream_id, 149 virtual void OnPushPromise(SpdyStreamId stream_id,
150 SpdyStreamId promised_stream_id) OVERRIDE; 150 SpdyStreamId promised_stream_id) OVERRIDE;
151 virtual void OnDataFrameHeader(SpdyStreamId stream_id, 151 virtual void OnDataFrameHeader(SpdyStreamId stream_id,
152 size_t length, 152 size_t length,
153 bool fin) OVERRIDE; 153 bool fin) OVERRIDE;
154 154
155 // SpdyFramer methods. 155 // SpdyFramer methods.
156 size_t ProcessInput(const char* data, size_t len); 156 size_t ProcessInput(const char* data, size_t len);
157 int protocol_version(); 157 SpdyMajorVersion protocol_version();
158 void Reset(); 158 void Reset();
159 SpdyFramer::SpdyError error_code() const; 159 SpdyFramer::SpdyError error_code() const;
160 SpdyFramer::SpdyState state() const; 160 SpdyFramer::SpdyState state() const;
161 bool MessageFullyRead(); 161 bool MessageFullyRead();
162 bool HasError(); 162 bool HasError();
163 SpdyFrame* CreateSynStream(SpdyStreamId stream_id, 163 SpdyFrame* CreateSynStream(SpdyStreamId stream_id,
164 SpdyStreamId associated_stream_id, 164 SpdyStreamId associated_stream_id,
165 SpdyPriority priority, 165 SpdyPriority priority,
166 uint8 credential_slot, 166 uint8 credential_slot,
167 SpdyControlFlags flags, 167 SpdyControlFlags flags,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 bool unidirectional; 253 bool unidirectional;
254 }; 254 };
255 scoped_ptr<ControlFrameFields> control_frame_fields_; 255 scoped_ptr<ControlFrameFields> control_frame_fields_;
256 256
257 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); 257 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer);
258 }; 258 };
259 259
260 } // namespace net 260 } // namespace net
261 261
262 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ 262 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_http_stream.cc ('k') | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698