OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "net/quic/test_tools/quic_buffered_packet_store_peer.h" |
| 6 |
| 7 #include "net/quic/core/quic_buffered_packet_store.h" |
| 8 |
| 9 namespace net { |
| 10 namespace test { |
| 11 |
| 12 // static |
| 13 QuicAlarm* QuicBufferedPacketStorePeer::expiration_alarm( |
| 14 QuicBufferedPacketStore* store) { |
| 15 return store->expiration_alarm_.get(); |
| 16 } |
| 17 |
| 18 // static |
| 19 void QuicBufferedPacketStorePeer::set_clock(QuicBufferedPacketStore* store, |
| 20 const QuicClock* clock) { |
| 21 store->clock_ = clock; |
| 22 } |
| 23 |
| 24 } // namespace test |
| 25 } // namespace net |
OLD | NEW |