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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RECEIVED_PACKET_MANAGER_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_
7 7
8 #include "base/macros.h"
8 #include "net/quic/quic_protocol.h" 9 #include "net/quic/quic_protocol.h"
9 10
10 namespace net { 11 namespace net {
11 12
12 class QuicReceivedPacketManager; 13 class QuicReceivedPacketManager;
13 14
14 namespace test { 15 namespace test {
15 16
16 class QuicReceivedPacketManagerPeer { 17 class QuicReceivedPacketManagerPeer {
17 public: 18 public:
18 static void SetCumulativeEntropyUpTo( 19 static void SetCumulativeEntropyUpTo(
19 QuicReceivedPacketManager* received_packet_manager, 20 QuicReceivedPacketManager* received_packet_manager,
20 QuicPacketNumber peer_least_unacked, 21 QuicPacketNumber peer_least_unacked,
21 QuicPacketEntropyHash entropy_hash); 22 QuicPacketEntropyHash entropy_hash);
22 23
23 static bool DontWaitForPacketsBefore( 24 static bool DontWaitForPacketsBefore(
24 QuicReceivedPacketManager* received_packet_manager, 25 QuicReceivedPacketManager* received_packet_manager,
25 QuicPacketNumber least_unacked); 26 QuicPacketNumber least_unacked);
26 27
27 private: 28 private:
28 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManagerPeer); 29 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManagerPeer);
29 }; 30 };
30 31
31 } // namespace test 32 } // namespace test
32 33
33 } // namespace net 34 } // namespace net
34 35
35 #endif // NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_ 36 #endif // NET_QUIC_TEST_TOOLS_QUIC_RECEIVED_PACKET_MANAGER_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_packet_generator_peer.h ('k') | net/quic/test_tools/quic_sent_packet_manager_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698