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

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

Issue 687033002: Adding an option for peers to negotiate the length of the QUIC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_1028
Patch Set: Created 6 years, 1 month 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_config_peer.h ('k') | net/quic/test_tools/quic_connection_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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/test_tools/quic_config_peer.h" 5 #include "net/quic/test_tools/quic_config_peer.h"
6 6
7 #include "net/quic/quic_config.h" 7 #include "net/quic/quic_config.h"
8 8
9 namespace net { 9 namespace net {
10 namespace test { 10 namespace test {
(...skipping 26 matching lines...) Expand all
37 window_bytes); 37 window_bytes);
38 } 38 }
39 39
40 // static 40 // static
41 void QuicConfigPeer::SetReceivedConnectionOptions( 41 void QuicConfigPeer::SetReceivedConnectionOptions(
42 QuicConfig* config, 42 QuicConfig* config,
43 const QuicTagVector& options) { 43 const QuicTagVector& options) {
44 config->connection_options_.SetReceivedValues(options); 44 config->connection_options_.SetReceivedValues(options);
45 } 45 }
46 46
47 // static
48 void QuicConfigPeer::SetReceivedBytesForConnectionId(QuicConfig* config,
49 uint32 bytes) {
50 config->bytes_for_connection_id_.SetReceivedValue(bytes);
51 }
52
47 } // namespace test 53 } // namespace test
48 } // namespace net 54 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_config_peer.h ('k') | net/quic/test_tools/quic_connection_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698