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

Unified Diff: net/spdy/spdy_stream.h

Issue 2596703002: http2: Update priorities of pushed streams (Closed)
Patch Set: Created 4 years 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_stream.h
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h
index 0a72167357e80f57411703a984ce5aabf7506adc..6a8162b43042e3e68a77b1ebc3fc7751c62fc7be 100644
--- a/net/spdy/spdy_stream.h
+++ b/net/spdy/spdy_stream.h
@@ -142,6 +142,7 @@ class NET_EXPORT_PRIVATE SpdyStream {
const GURL& url() const { return url_; }
RequestPriority priority() const { return priority_; }
+ void set_priority(RequestPriority p) { priority_ = p; }
int32_t send_window_size() const { return send_window_size_; }
@@ -434,7 +435,7 @@ class NET_EXPORT_PRIVATE SpdyStream {
SpdyStreamId stream_id_;
const GURL url_;
- const RequestPriority priority_;
+ RequestPriority priority_;
bool send_stalled_by_flow_control_;

Powered by Google App Engine
This is Rietveld 408576698