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

Unified Diff: net/quic/core/spdy_utils.h

Issue 2862563003: Landing Recent QUIC changes until Sat Apr 29 00:22:04 2017 +0000 (Closed)
Patch Set: rebase and fix test bugs detected by swarm bot. Created 3 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/core/quic_write_blocked_list_test.cc ('k') | net/quic/quartc/quartc_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/spdy_utils.h
diff --git a/net/quic/core/spdy_utils.h b/net/quic/core/spdy_utils.h
index 724136af20e8216c40eebc1cf8644165c3d8e13f..cb11c93a62974229bcd78b8c693e6d6c30857f4f 100644
--- a/net/quic/core/spdy_utils.h
+++ b/net/quic/core/spdy_utils.h
@@ -54,6 +54,8 @@ class QUIC_EXPORT_PRIVATE SpdyUtils {
static bool PopulateHeaderBlockFromUrl(const std::string url,
SpdyHeaderBlock* headers);
+ static bool IsServerPushStream(QuicStreamId id) { return id % 2 == 0; }
+
private:
DISALLOW_COPY_AND_ASSIGN(SpdyUtils);
};
« no previous file with comments | « net/quic/core/quic_write_blocked_list_test.cc ('k') | net/quic/quartc/quartc_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698