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

Unified Diff: net/spdy/buffered_spdy_framer.h

Issue 9618002: SPDY - integration of spdy/3 code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_client_socket_pool.cc ('k') | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/buffered_spdy_framer.h
===================================================================
--- net/spdy/buffered_spdy_framer.h (revision 126086)
+++ net/spdy/buffered_spdy_framer.h (working copy)
@@ -51,9 +51,6 @@
// Called after a PING frame is received.
virtual void OnPing(const spdy::SpdyPingControlFrame& frame) = 0;
- // Called after a SETTINGS frame is received.
- virtual void OnSettings(const spdy::SpdySettingsControlFrame& frame) = 0;
-
// Called after a WINDOW_UPDATE frame is received.
virtual void OnWindowUpdate(
const spdy::SpdyWindowUpdateControlFrame& frame) = 0;
@@ -68,6 +65,10 @@
const char* data,
size_t len) = 0;
+ // Called when an individual setting within a SETTINGS frame has been parsed
+ // and validated.
+ virtual void OnSetting(SpdySettingsIds id, uint8 flags, uint32 value) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramerVisitorInterface);
};
@@ -95,6 +96,8 @@
virtual void OnStreamFrameData(SpdyStreamId stream_id,
const char* data,
size_t len) OVERRIDE;
+ virtual void OnSetting(
+ SpdySettingsIds id, uint8 flags, uint32 value) OVERRIDE;
virtual void OnDataFrameHeader(const SpdyDataFrame* frame) OVERRIDE;
// SpdyFramer methods.
@@ -105,7 +108,6 @@
SpdyFramer::SpdyState state() const;
bool MessageFullyRead();
bool HasError();
- bool ParseHeaderBlock(const SpdyFrame* frame, SpdyHeaderBlock* block);
SpdySynStreamControlFrame* CreateSynStream(SpdyStreamId stream_id,
SpdyStreamId associated_stream_id,
int priority,
@@ -135,6 +137,7 @@
const char* data,
uint32 len,
SpdyDataFlags flags);
+ SpdyPriority GetHighestPriority() const;
SpdyFrame* CompressFrame(const SpdyFrame& frame);
bool IsCompressible(const SpdyFrame& frame) const;
« no previous file with comments | « net/socket/ssl_client_socket_pool.cc ('k') | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698