summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session.cc
diff options
context:
space:
mode:
authorbnc <bnc@chromium.org>2015-06-23 14:38:26 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-23 21:39:01 +0000
commitd8ad9a7c88b978ebcb655c5e0a389fde9b169dbc (patch)
tree7db516568cdbe9a7ed5955c4830a34f1b0cd567f /net/spdy/spdy_session.cc
parentc5d9a0ea754aba8264a36e59d2a60a6722fd56b3 (diff)
downloadchromium_src-d8ad9a7c88b978ebcb655c5e0a389fde9b169dbc.zip
chromium_src-d8ad9a7c88b978ebcb655c5e0a389fde9b169dbc.tar.gz
chromium_src-d8ad9a7c88b978ebcb655c5e0a389fde9b169dbc.tar.bz2
Parse stream dependency values carried in HTTP/2 headers frame.
Modify SpdyFramer to parse stream dependency values present in HTTP/2 headers frames, and pass them to SpdyFramerVisitorInterface::OnHeaders() via two newly added parameters, |parent_stream_id| and |exclusive|. Modify existing implementations of SpdyFramerVisitorInterface::OnHeaders() to accept and ignore the new arguments. This CL lands server change 95217891 by mpw. BUG=500673 Review URL: https://codereview.chromium.org/1196473003 Cr-Commit-Position: refs/heads/master@{#335754}
Diffstat (limited to 'net/spdy/spdy_session.cc')
-rw-r--r--net/spdy/spdy_session.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index a648ae9..d6daf6b 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -2333,6 +2333,8 @@ void SpdySession::OnSynReply(SpdyStreamId stream_id,
void SpdySession::OnHeaders(SpdyStreamId stream_id,
bool has_priority,
SpdyPriority priority,
+ SpdyStreamId parent_stream_id,
+ bool exclusive,
bool fin,
const SpdyHeaderBlock& headers) {
CHECK(in_io_loop_);