OLD | NEW |
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/core/quic_protocol.h" |
10 #include "net/quic/quic_write_blocked_list.h" | 10 #include "net/quic/core/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 static void SetForceHolBlocking(QuicSpdySession* session, bool value); |
25 | 25 |
26 private: | 26 private: |
27 DISALLOW_COPY_AND_ASSIGN(QuicSpdySessionPeer); | 27 DISALLOW_COPY_AND_ASSIGN(QuicSpdySessionPeer); |
28 }; | 28 }; |
29 | 29 |
30 } // namespace test | 30 } // namespace test |
31 | 31 |
32 } // namespace net | 32 } // namespace net |
33 | 33 |
34 #endif // NET_QUIC_TEST_TOOLS_QUIC_SPDY_SESSION_PEER_H_ | 34 #endif // NET_QUIC_TEST_TOOLS_QUIC_SPDY_SESSION_PEER_H_ |
OLD | NEW |