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 #include "net/quic/test_tools/quic_client_session_peer.h"
7 #include "net/quic/quic_client_session.h"
13 void QuicClientSessionPeer::SetMaxOpenStreams(QuicClientSession
* session
,
15 size_t default_streams
) {
16 session
->config()->SetMaxStreamsPerConnection(max_streams
, default_streams
);
20 void QuicClientSessionPeer::SetChannelIDSent(QuicClientSession
* session
,
21 bool channel_id_sent
) {
22 session
->crypto_stream_
->channel_id_sent_
= channel_id_sent
;