Qingsi Wang | 6e641e6 | 2018-04-11 20:14:17 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018 The WebRTC Project Authors. All rights reserved. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license |
| 5 | * that can be found in the LICENSE file in the root of the source |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
| 11 | #include "rtc_base/socket.h" |
| 12 | |
| 13 | namespace rtc { |
| 14 | |
| 15 | PacketInfo::PacketInfo() = default; |
| 16 | PacketInfo::PacketInfo(const PacketInfo& info) = default; |
| 17 | PacketInfo::~PacketInfo() = default; |
| 18 | |
| 19 | SentPacket::SentPacket() = default; |
Bjorn Mellem | 3a9c46d | 2018-04-25 13:24:48 -0700 | [diff] [blame] | 20 | SentPacket::SentPacket(int64_t packet_id, int64_t send_time_ms) |
Qingsi Wang | 6e641e6 | 2018-04-11 20:14:17 -0700 | [diff] [blame] | 21 | : packet_id(packet_id), send_time_ms(send_time_ms) {} |
Bjorn Mellem | 3a9c46d | 2018-04-25 13:24:48 -0700 | [diff] [blame] | 22 | SentPacket::SentPacket(int64_t packet_id, |
Qingsi Wang | 6e641e6 | 2018-04-11 20:14:17 -0700 | [diff] [blame] | 23 | int64_t send_time_ms, |
| 24 | const rtc::PacketInfo& info) |
| 25 | : packet_id(packet_id), send_time_ms(send_time_ms), info(info) {} |
| 26 | |
| 27 | } // namespace rtc |