| 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/core/quic_packet_creator.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 namespace test { | 10 namespace test { |
| 11 | 11 |
| 12 // static | 12 // static |
| 13 bool QuicPacketCreatorPeer::SendVersionInPacket(QuicPacketCreator* creator) { | 13 bool QuicPacketCreatorPeer::SendVersionInPacket(QuicPacketCreator* creator) { |
| 14 return creator->send_version_in_packet_; | 14 return creator->send_version_in_packet_; |
| 15 } | 15 } |
| 16 | 16 |
| 17 // static | 17 // static |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 return creator->packet_.encryption_level; | 106 return creator->packet_.encryption_level; |
| 107 } | 107 } |
| 108 | 108 |
| 109 // static | 109 // static |
| 110 QuicPathId QuicPacketCreatorPeer::GetCurrentPath(QuicPacketCreator* creator) { | 110 QuicPathId QuicPacketCreatorPeer::GetCurrentPath(QuicPacketCreator* creator) { |
| 111 return creator->packet_.path_id; | 111 return creator->packet_.path_id; |
| 112 } | 112 } |
| 113 | 113 |
| 114 } // namespace test | 114 } // namespace test |
| 115 } // namespace net | 115 } // namespace net |
| OLD | NEW |