| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_RTC_BASE_ASYNCPACKETSOCKET_H_ | 11 #ifndef WEBRTC_RTC_BASE_ASYNCPACKETSOCKET_H_ |
| 12 #define WEBRTC_RTC_BASE_ASYNCPACKETSOCKET_H_ | 12 #define WEBRTC_RTC_BASE_ASYNCPACKETSOCKET_H_ |
| 13 | 13 |
| 14 #include "webrtc/rtc_base/constructormagic.h" | 14 #include "webrtc/base/constructormagic.h" |
| 15 #include "webrtc/rtc_base/dscp.h" | 15 #include "webrtc/base/dscp.h" |
| 16 #include "webrtc/rtc_base/sigslot.h" | 16 #include "webrtc/base/sigslot.h" |
| 17 #include "webrtc/rtc_base/socket.h" | 17 #include "webrtc/base/socket.h" |
| 18 #include "webrtc/rtc_base/timeutils.h" | 18 #include "webrtc/base/timeutils.h" |
| 19 | 19 |
| 20 namespace rtc { | 20 namespace rtc { |
| 21 | 21 |
| 22 // This structure holds the info needed to update the packet send time header | 22 // This structure holds the info needed to update the packet send time header |
| 23 // extension, including the information needed to update the authentication tag | 23 // extension, including the information needed to update the authentication tag |
| 24 // after changing the value. | 24 // after changing the value. |
| 25 struct PacketTimeUpdateParams { | 25 struct PacketTimeUpdateParams { |
| 26 PacketTimeUpdateParams(); | 26 PacketTimeUpdateParams(); |
| 27 ~PacketTimeUpdateParams(); | 27 ~PacketTimeUpdateParams(); |
| 28 | 28 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // Used only for listening TCP sockets. | 134 // Used only for listening TCP sockets. |
| 135 sigslot::signal2<AsyncPacketSocket*, AsyncPacketSocket*> SignalNewConnection; | 135 sigslot::signal2<AsyncPacketSocket*, AsyncPacketSocket*> SignalNewConnection; |
| 136 | 136 |
| 137 private: | 137 private: |
| 138 RTC_DISALLOW_COPY_AND_ASSIGN(AsyncPacketSocket); | 138 RTC_DISALLOW_COPY_AND_ASSIGN(AsyncPacketSocket); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace rtc | 141 } // namespace rtc |
| 142 | 142 |
| 143 #endif // WEBRTC_RTC_BASE_ASYNCPACKETSOCKET_H_ | 143 #endif // WEBRTC_RTC_BASE_ASYNCPACKETSOCKET_H_ |
| OLD | NEW |