Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / net / quic / test_tools / quic_chromium_client_session_peer.h
blob9d39741bb21443dbe21179188f0a61b9d618b5b7
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
3 // found in the LICENSE file.
5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_
8 #include "net/quic/quic_protocol.h"
10 namespace net {
12 class QuicChromiumClientSession;
14 namespace test {
16 class QuicChromiumClientSessionPeer {
17 public:
18 static void SetMaxOpenStreams(QuicChromiumClientSession* session,
19 size_t max_streams,
20 size_t default_streams);
22 static void SetChannelIDSent(QuicChromiumClientSession* session,
23 bool channel_id_sent);
25 private:
26 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSessionPeer);
29 } // namespace test
30 } // namespace net
32 #endif // NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_