Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Side by Side Diff: net/quic/test_tools/quic_client_session_peer.cc

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/test_tools/quic_client_session_peer.h ('k') | net/quic/test_tools/quic_config_peer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 #include "net/quic/test_tools/quic_client_session_peer.h"
6
7 #include "net/quic/quic_client_session.h"
8
9 namespace net {
10 namespace test {
11
12 // static
13 void QuicClientSessionPeer::SetMaxOpenStreams(QuicClientSession* session,
14 size_t max_streams,
15 size_t default_streams) {
16 session->config()->SetMaxStreamsPerConnection(max_streams, default_streams);
17 }
18
19 // static
20 void QuicClientSessionPeer::SetChannelIDSent(QuicClientSession* session,
21 bool channel_id_sent) {
22 session->crypto_stream_->channel_id_sent_ = channel_id_sent;
23 }
24
25 } // namespace test
26 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_client_session_peer.h ('k') | net/quic/test_tools/quic_config_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698