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

Unified Diff: net/spdy/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/spdy/mock_spdy_framer_visitor.h ('k') | net/spdy/spdy_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer.h
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 6c315647673da2f2d6f15fcce0e06201b937d027..41d8a52c3079c164b4d02b7fb9ffea8eb798143a 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -197,8 +197,8 @@ class NET_EXPORT_PRIVATE SpdyFramerVisitorInterface {
// |stream_id| The stream receiving the header.
// |has_priority| Whether or not the headers frame included a priority value,
// and, if protocol version == HTTP2, stream dependency info.
- // |priority| If |has_priority| is true, then priority value for the receiving
- // stream, otherwise 0.
+ // |weight| If |has_priority| is true, then weight (in the range [1, 256])
+ // for the receiving stream, otherwise 0.
// |parent_stream_id| If |has_priority| is true and protocol
// version == HTTP2, the parent stream of the receiving stream, else 0.
// |exclusive| If |has_priority| is true and protocol
@@ -209,7 +209,7 @@ class NET_EXPORT_PRIVATE SpdyFramerVisitorInterface {
// or true if not.
virtual void OnHeaders(SpdyStreamId stream_id,
bool has_priority,
- SpdyPriority priority,
+ int weight,
SpdyStreamId parent_stream_id,
bool exclusive,
bool fin,
« no previous file with comments | « net/spdy/mock_spdy_framer_visitor.h ('k') | net/spdy/spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698