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

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

Issue 687093002: Move receive_window_ from BbrTcpSender and TcpCubicSender to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Gathering_ClientConnectionStats_78688302
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/quic_sent_packet_manager_test.cc ('k') | net/quic/test_tools/quic_config_peer.cc » ('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 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
7 7
8 #include "net/quic/quic_protocol.h" 8 #include "net/quic/quic_protocol.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 class QuicConfig; 12 class QuicConfig;
13 13
14 namespace test { 14 namespace test {
15 15
16 class QuicConfigPeer { 16 class QuicConfigPeer {
17 public: 17 public:
18 static void SetReceivedInitialWindow(QuicConfig* config, 18 static void SetReceivedInitialWindow(QuicConfig* config,
19 size_t initial_window); 19 size_t initial_window);
20 20
21 static void SetReceivedSocketReceiveBuffer(QuicConfig* config,
22 uint32 receive_buffer_bytes);
23
21 // TODO(rjshade): Remove when removing QUIC_VERSION_19. 24 // TODO(rjshade): Remove when removing QUIC_VERSION_19.
22 static void SetReceivedInitialFlowControlWindow(QuicConfig* config, 25 static void SetReceivedInitialFlowControlWindow(QuicConfig* config,
23 uint32 window_bytes); 26 uint32 window_bytes);
24 27
25 static void SetReceivedInitialStreamFlowControlWindow(QuicConfig* config, 28 static void SetReceivedInitialStreamFlowControlWindow(QuicConfig* config,
26 uint32 window_bytes); 29 uint32 window_bytes);
27 30
28 static void SetReceivedInitialSessionFlowControlWindow(QuicConfig* config, 31 static void SetReceivedInitialSessionFlowControlWindow(QuicConfig* config,
29 uint32 window_bytes); 32 uint32 window_bytes);
30 33
31 static void SetReceivedConnectionOptions(QuicConfig* config, 34 static void SetReceivedConnectionOptions(QuicConfig* config,
32 const QuicTagVector& options); 35 const QuicTagVector& options);
33 36
34 static void SetReceivedBytesForConnectionId(QuicConfig* config, uint32 bytes); 37 static void SetReceivedBytesForConnectionId(QuicConfig* config, uint32 bytes);
35 38
36 private: 39 private:
37 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer); 40 DISALLOW_COPY_AND_ASSIGN(QuicConfigPeer);
38 }; 41 };
39 42
40 } // namespace test 43 } // namespace test
41 44
42 } // namespace net 45 } // namespace net
43 46
44 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_ 47 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONFIG_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_sent_packet_manager_test.cc ('k') | net/quic/test_tools/quic_config_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698