If there are no local credentials for a locked profile, show sign in button
[chromium-blink-merge.git] / net / quic / test_tools / quic_chromium_client_session_peer.cc
blob94f4b1d4ad96c05635fe4972aeac46bf1f55d142
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_chromium_client_session_peer.h"
7 #include "net/quic/quic_chromium_client_session.h"
9 namespace net {
10 namespace test {
12 // static
13 void QuicChromiumClientSessionPeer::SetMaxOpenStreams(
14 QuicChromiumClientSession* session,
15 size_t max_streams,
16 size_t default_streams) {
17 session->config()->SetMaxStreamsPerConnection(max_streams, default_streams);
20 // static
21 void QuicChromiumClientSessionPeer::SetChannelIDSent(
22 QuicChromiumClientSession* session,
23 bool channel_id_sent) {
24 session->crypto_stream_->channel_id_sent_ = channel_id_sent;
27 } // namespace test
28 } // namespace net