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

Unified Diff: net/spdy/buffered_spdy_framer.h

Issue 2018513002: Plumb unmodified HTTP/2 stream weight value through SPDY framing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/quic/test_tools/quic_test_packet_maker.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
diff --git a/net/spdy/buffered_spdy_framer.h b/net/spdy/buffered_spdy_framer.h
index 8cc7bce002aa1d4d4b5ce9ee1ca1048986ed6efc..e2bedbf672a440a9240fae690aac58a014e73d65 100644
--- a/net/spdy/buffered_spdy_framer.h
+++ b/net/spdy/buffered_spdy_framer.h
@@ -53,7 +53,7 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface {
// Called after all the header data for HEADERS control frame is received.
virtual void OnHeaders(SpdyStreamId stream_id,
bool has_priority,
- SpdyPriority priority,
+ int weight,
SpdyStreamId parent_stream_id,
bool exclusive,
bool fin,
@@ -157,7 +157,7 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
void OnSynReply(SpdyStreamId stream_id, bool fin) override;
void OnHeaders(SpdyStreamId stream_id,
bool has_priority,
- SpdyPriority priority,
+ int weight,
SpdyStreamId parent_stream_id,
bool exclusive,
bool fin,
@@ -217,7 +217,7 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
base::StringPiece debug_data) const;
SpdySerializedFrame* CreateHeaders(SpdyStreamId stream_id,
SpdyControlFlags flags,
- SpdyPriority priority,
+ int weight,
const SpdyHeaderBlock* headers);
SpdySerializedFrame* CreateWindowUpdate(SpdyStreamId stream_id,
uint32_t delta_window_size) const;
@@ -283,6 +283,7 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
SpdyStreamId promised_stream_id;
bool has_priority;
SpdyPriority priority;
+ int weight;
SpdyStreamId parent_stream_id;
bool exclusive;
bool fin;
« no previous file with comments | « net/quic/test_tools/quic_test_packet_maker.cc ('k') | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698