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

Unified Diff: net/spdy/spdy_stream.h

Issue 2596703002: http2: Update priorities of pushed streams (Closed)
Patch Set: actually rebase Created 3 years, 11 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/spdy_session_unittest.cc ('k') | net/spdy/spdy_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream.h
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h
index 41d14ef2ae3781914676e6b5d2f6d925bd8a33a3..01309fdc60e359931258d1af9e2c7c2eb0d34d8b 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_; }
@@ -433,7 +434,7 @@ class NET_EXPORT_PRIVATE SpdyStream {
SpdyStreamId stream_id_;
const GURL url_;
- const RequestPriority priority_;
+ RequestPriority priority_;
bool send_stalled_by_flow_control_;
« no previous file with comments | « net/spdy/spdy_session_unittest.cc ('k') | net/spdy/spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698