quic_session_peer.h revision 90dce4d38c5ff5333bea97d859d4e484e27edf0c
1// Copyright (c) 2012 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.
4
5#ifndef NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
6#define NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
7
8#include "net/quic/quic_protocol.h"
9
10namespace net {
11
12class QuicSession;
13
14namespace test {
15
16class QuicSessionPeer {
17 public:
18  static void SetNextStreamId(QuicSession* session, QuicStreamId id);
19  static void SetMaxOpenStreams(QuicSession* session, uint32 max_streams);
20
21 private:
22  DISALLOW_COPY_AND_ASSIGN(QuicSessionPeer);
23};
24
25}  // namespace test
26}  // namespace net
27
28#endif  // NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
29