| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "net/quic/test_tools/quic_packet_creator_peer.h" | 5 #include "net/quic/test_tools/quic_packet_creator_peer.h" |
| 6 | 6 |
| 7 #include "net/quic/quic_packet_creator.h" | 7 #include "net/quic/quic_packet_creator.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 namespace test { | 10 namespace test { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 QuicPacketCreator* creator) { | 111 QuicPacketCreator* creator) { |
| 112 return creator->fec_timeout_; | 112 return creator->fec_timeout_; |
| 113 } | 113 } |
| 114 | 114 |
| 115 // static | 115 // static |
| 116 float QuicPacketCreatorPeer::GetRttMultiplierForFecTimeout( | 116 float QuicPacketCreatorPeer::GetRttMultiplierForFecTimeout( |
| 117 QuicPacketCreator* creator) { | 117 QuicPacketCreator* creator) { |
| 118 return creator->rtt_multiplier_for_fec_timeout_; | 118 return creator->rtt_multiplier_for_fec_timeout_; |
| 119 } | 119 } |
| 120 | 120 |
| 121 // static |
| 122 EncryptionLevel QuicPacketCreatorPeer::GetEncryptionLevel( |
| 123 QuicPacketCreator* creator) { |
| 124 return creator->encryption_level_; |
| 125 } |
| 126 |
| 121 } // namespace test | 127 } // namespace test |
| 122 } // namespace net | 128 } // namespace net |
| OLD | NEW |