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

Unified Diff: net/spdy/spdy_framer.h

Issue 10448083: Fix out of order SYN_STEAM frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix willchan's comments Created 8 years, 6 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
Index: net/spdy/spdy_framer.h
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 63570a67d05a63f2c12d24dad78bd9aeae137175..a7461b26b8a9686c308b1f61b4233788b433ed87 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -184,6 +184,12 @@ class NET_EXPORT_PRIVATE SpdyFramerVisitorInterface {
// Called when a complete setting within a SETTINGS frame has been parsed and
// validated.
virtual void OnSetting(SpdySettingsIds id, uint8 flags, uint32 value) = 0;
+
+ // Called after a control frame has been compressed to allow the visitor
+ // to record compression statistics.
+ virtual void OnControlFrameCompressed(
+ const SpdyControlFrame& uncompressed_frame,
+ const SpdyControlFrame& compressed_frame) = 0;
};
class NET_EXPORT_PRIVATE SpdyFramer {

Powered by Google App Engine
This is Rietveld 408576698