| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_BUFFERED_PACKET_STORE_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_BUFFERED_PACKET_STORE_PEER_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_QUIC_BUFFERED_PACKET_STORE_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_BUFFERED_PACKET_STORE_PEER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "net/quic/core/quic_alarm.h" | 10 #include "net/quic/core/quic_alarm.h" |
| 11 #include "net/quic/core/quic_clock.h" | 11 #include "net/quic/platform/api/quic_clock.h" |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 | 14 |
| 15 class QuicBufferedPacketStore; | 15 class QuicBufferedPacketStore; |
| 16 | 16 |
| 17 namespace test { | 17 namespace test { |
| 18 | 18 |
| 19 class QuicBufferedPacketStorePeer { | 19 class QuicBufferedPacketStorePeer { |
| 20 public: | 20 public: |
| 21 static QuicAlarm* expiration_alarm(QuicBufferedPacketStore* store); | 21 static QuicAlarm* expiration_alarm(QuicBufferedPacketStore* store); |
| 22 | 22 |
| 23 static void set_clock(QuicBufferedPacketStore* store, const QuicClock* clock); | 23 static void set_clock(QuicBufferedPacketStore* store, const QuicClock* clock); |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(QuicBufferedPacketStorePeer); | 26 DISALLOW_COPY_AND_ASSIGN(QuicBufferedPacketStorePeer); |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace test | 29 } // namespace test |
| 30 | 30 |
| 31 } // namespace net | 31 } // namespace net |
| 32 | 32 |
| 33 #endif // NET_QUIC_TEST_TOOLS_QUIC_BUFFERED_PACKET_STORE_PEER_H_ | 33 #endif // NET_QUIC_TEST_TOOLS_QUIC_BUFFERED_PACKET_STORE_PEER_H_ |
| OLD | NEW |