OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CLIENT_SESSION_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CLIENT_SESSION_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_QUIC_CLIENT_SESSION_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_CLIENT_SESSION_PEER_H_ |
7 | 7 |
8 #include "net/quic/quic_protocol.h" | 8 #include "net/quic/quic_protocol.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 | 11 |
| 12 class ChannelIDKey; |
12 class QuicClientSession; | 13 class QuicClientSession; |
13 | 14 |
14 namespace test { | 15 namespace test { |
15 | 16 |
16 class QuicClientSessionPeer { | 17 class QuicClientSessionPeer { |
17 public: | 18 public: |
18 static void SetMaxOpenStreams(QuicClientSession* session, | 19 static void SetMaxOpenStreams(QuicClientSession* session, |
19 size_t max_streams, | 20 size_t max_streams, |
20 size_t default_streams); | 21 size_t default_streams); |
21 | 22 |
| 23 static void SetChannelIDKey(QuicClientSession* session, |
| 24 ChannelIDKey* channel_id_key); |
| 25 |
22 private: | 26 private: |
23 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionPeer); | 27 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionPeer); |
24 }; | 28 }; |
25 | 29 |
26 } // namespace test | 30 } // namespace test |
27 } // namespace net | 31 } // namespace net |
28 | 32 |
29 #endif // NET_QUIC_TEST_TOOLS_QUIC_CLIENT_SESSION_PEER_H_ | 33 #endif // NET_QUIC_TEST_TOOLS_QUIC_CLIENT_SESSION_PEER_H_ |
OLD | NEW |