summaryrefslogtreecommitdiffstats
path: root/net/quic/test_tools/quic_client_session_peer.cc
blob: e88da49e15ec767ed820fb47038663e4d507e6ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/quic/test_tools/quic_client_session_peer.h"

#include "net/quic/quic_client_session.h"

namespace net {
namespace test {

// static
void QuicClientSessionPeer::SetMaxOpenStreams(QuicClientSession* session,
                                              size_t max_streams,
                                              size_t default_streams) {
  session->config()->set_max_streams_per_connection(max_streams,
                                                    default_streams);
}

}  // namespace test
}  // namespace net