Roll src/third_party/WebKit eac3800:0237a66 (svn 202606:202607)
[chromium-blink-merge.git] / net / quic / test_tools / quic_ack_notifier_manager_peer.h
blobea128d3af246e8c2a27df90ddb25902bcd0f58b7
1 // Copyright (c) 2015 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 #ifndef NET_QUIC_TEST_TOOLS_QUIC_ACK_NOTIFIER_MANAGER_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_ACK_NOTIFIER_MANAGER_PEER_H_
8 #include "net/quic/quic_protocol.h"
10 namespace net {
12 class AckNotifierManager;
14 namespace test {
16 // Exposes the internal fields of AckNotifierManager for tests.
17 class AckNotifierManagerPeer {
18 public:
19 // Returns total number of packets known to the map.
20 static size_t GetNumberOfRegisteredPackets(const AckNotifierManager* manager);
22 private:
23 DISALLOW_COPY_AND_ASSIGN(AckNotifierManagerPeer);
26 } // namespace test
27 } // namespace net
29 #endif // NET_QUIC_TEST_TOOLS_QUIC_ACK_NOTIFIER_MANAGER_PEER_H_