OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2012 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_P2P_BASE_TURNSERVER_H_ | 11 #ifndef WEBRTC_P2P_BASE_TURNSERVER_H_ |
12 #define WEBRTC_P2P_BASE_TURNSERVER_H_ | 12 #define WEBRTC_P2P_BASE_TURNSERVER_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <map> | 15 #include <map> |
16 #include <memory> | 16 #include <memory> |
17 #include <set> | 17 #include <set> |
18 #include <string> | 18 #include <string> |
19 #include <vector> | 19 #include <vector> |
20 | 20 |
21 #include "webrtc/p2p/base/portinterface.h" | 21 #include "webrtc/p2p/base/portinterface.h" |
22 #include "webrtc/rtc_base/asyncinvoker.h" | 22 #include "webrtc/base/asyncinvoker.h" |
23 #include "webrtc/rtc_base/asyncpacketsocket.h" | 23 #include "webrtc/base/asyncpacketsocket.h" |
24 #include "webrtc/rtc_base/messagequeue.h" | 24 #include "webrtc/base/messagequeue.h" |
25 #include "webrtc/rtc_base/sigslot.h" | 25 #include "webrtc/base/sigslot.h" |
26 #include "webrtc/rtc_base/socketaddress.h" | 26 #include "webrtc/base/socketaddress.h" |
27 | 27 |
28 namespace rtc { | 28 namespace rtc { |
29 class ByteBufferWriter; | 29 class ByteBufferWriter; |
30 class PacketSocketFactory; | 30 class PacketSocketFactory; |
31 class Thread; | 31 class Thread; |
32 } | 32 } |
33 | 33 |
34 namespace cricket { | 34 namespace cricket { |
35 | 35 |
36 class StunMessage; | 36 class StunMessage; |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 // For testing only. If this is non-zero, the next NONCE will be generated | 295 // For testing only. If this is non-zero, the next NONCE will be generated |
296 // from this value, and it will be reset to 0 after generating the NONCE. | 296 // from this value, and it will be reset to 0 after generating the NONCE. |
297 int64_t ts_for_next_nonce_ = 0; | 297 int64_t ts_for_next_nonce_ = 0; |
298 | 298 |
299 friend class TurnServerAllocation; | 299 friend class TurnServerAllocation; |
300 }; | 300 }; |
301 | 301 |
302 } // namespace cricket | 302 } // namespace cricket |
303 | 303 |
304 #endif // WEBRTC_P2P_BASE_TURNSERVER_H_ | 304 #endif // WEBRTC_P2P_BASE_TURNSERVER_H_ |
OLD | NEW |