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

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

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_config_peer.cc ('k') | net/quic/test_tools/quic_spdy_session_peer.cc » ('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 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SPDY_SESSION_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SPDY_SESSION_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_SPDY_SESSION_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_SPDY_SESSION_PEER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/quic/quic_protocol.h" 9 #include "net/quic/quic_protocol.h"
10 #include "net/quic/quic_write_blocked_list.h" 10 #include "net/quic/quic_write_blocked_list.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 class QuicHeadersStream; 14 class QuicHeadersStream;
15 class QuicSpdySession; 15 class QuicSpdySession;
16 16
17 namespace test { 17 namespace test {
18 18
19 class QuicSpdySessionPeer { 19 class QuicSpdySessionPeer {
20 public: 20 public:
21 static QuicHeadersStream* GetHeadersStream(QuicSpdySession* session); 21 static QuicHeadersStream* GetHeadersStream(QuicSpdySession* session);
22 static void SetHeadersStream(QuicSpdySession* session, 22 static void SetHeadersStream(QuicSpdySession* session,
23 QuicHeadersStream* headers_stream); 23 QuicHeadersStream* headers_stream);
24 static void SetForceHolBlocking(QuicSpdySession* session, bool value);
24 25
25 private: 26 private:
26 DISALLOW_COPY_AND_ASSIGN(QuicSpdySessionPeer); 27 DISALLOW_COPY_AND_ASSIGN(QuicSpdySessionPeer);
27 }; 28 };
28 29
29 } // namespace test 30 } // namespace test
30 31
31 } // namespace net 32 } // namespace net
32 33
33 #endif // NET_QUIC_TEST_TOOLS_QUIC_SPDY_SESSION_PEER_H_ 34 #endif // NET_QUIC_TEST_TOOLS_QUIC_SPDY_SESSION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_config_peer.cc ('k') | net/quic/test_tools/quic_spdy_session_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698