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

Side by Side Diff: net/quic/test_tools/quic_spdy_session_peer.cc

Issue 2115033002: Adds QUIC_VERSION_36 which adds support to force HOL blocking between streams for measurement purpo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@126085461
Patch Set: typo Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « net/quic/test_tools/quic_spdy_session_peer.h ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/test_tools/quic_spdy_session_peer.h" 5 #include "net/quic/test_tools/quic_spdy_session_peer.h"
6 6
7 #include "net/quic/quic_spdy_session.h" 7 #include "net/quic/quic_spdy_session.h"
8 8
9 namespace net { 9 namespace net {
10 namespace test { 10 namespace test {
11 11
12 // static 12 // static
13 QuicHeadersStream* QuicSpdySessionPeer::GetHeadersStream( 13 QuicHeadersStream* QuicSpdySessionPeer::GetHeadersStream(
14 QuicSpdySession* session) { 14 QuicSpdySession* session) {
15 return session->headers_stream_.get(); 15 return session->headers_stream_.get();
16 } 16 }
17 17
18 // static 18 // static
19 void QuicSpdySessionPeer::SetHeadersStream(QuicSpdySession* session, 19 void QuicSpdySessionPeer::SetHeadersStream(QuicSpdySession* session,
20 QuicHeadersStream* headers_stream) { 20 QuicHeadersStream* headers_stream) {
21 session->headers_stream_.reset(headers_stream); 21 session->headers_stream_.reset(headers_stream);
22 session->static_streams()[headers_stream->id()] = headers_stream; 22 session->static_streams()[headers_stream->id()] = headers_stream;
23 } 23 }
24 24
25 // static
26 void QuicSpdySessionPeer::SetForceHolBlocking(QuicSpdySession* session,
27 bool value) {
28 session->force_hol_blocking_ = value;
29 }
30
25 } // namespace test 31 } // namespace test
26 } // namespace net 32 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_spdy_session_peer.h ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698