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. 4 5#ifndef NET_QUIC_TEST_TOOLS_QUIC_CLIENT_SESSION_PEER_H_ 6#define NET_QUIC_TEST_TOOLS_QUIC_CLIENT_SESSION_PEER_H_ 7 8#include "net/quic/quic_protocol.h" 9 10namespace net { 11 12class QuicClientSession; 13 14namespace test { 15 16class QuicClientSessionPeer { 17 public: 18 static void SetMaxOpenStreams(QuicClientSession* session, 19 size_t max_streams, 20 size_t default_streams); 21 22 static void SetChannelIDSent(QuicClientSession* session, 23 bool channel_id_sent); 24 25 private: 26 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionPeer); 27}; 28 29} // namespace test 30} // namespace net 31 32#endif // NET_QUIC_TEST_TOOLS_QUIC_CLIENT_SESSION_PEER_H_ 33