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_BASE_NETWORK_H_ | 11 #ifndef WEBRTC_BASE_NETWORK_H_ |
12 #define WEBRTC_BASE_NETWORK_H_ | 12 #define WEBRTC_BASE_NETWORK_H_ |
13 | 13 |
14 #include <stdint.h> | |
15 | |
16 #include <deque> | 14 #include <deque> |
17 #include <map> | 15 #include <map> |
18 #include <memory> | 16 #include <memory> |
19 #include <string> | 17 #include <string> |
20 #include <vector> | 18 #include <vector> |
21 | 19 |
| 20 #include "webrtc/base/basictypes.h" |
22 #include "webrtc/base/ipaddress.h" | 21 #include "webrtc/base/ipaddress.h" |
23 #include "webrtc/base/networkmonitor.h" | 22 #include "webrtc/base/networkmonitor.h" |
24 #include "webrtc/base/messagehandler.h" | 23 #include "webrtc/base/messagehandler.h" |
25 #include "webrtc/base/sigslot.h" | 24 #include "webrtc/base/sigslot.h" |
26 | 25 |
27 #if defined(WEBRTC_POSIX) | 26 #if defined(WEBRTC_POSIX) |
28 struct ifaddrs; | 27 struct ifaddrs; |
29 #endif // defined(WEBRTC_POSIX) | 28 #endif // defined(WEBRTC_POSIX) |
30 | 29 |
31 namespace rtc { | 30 namespace rtc { |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 int preference_; | 420 int preference_; |
422 bool active_ = true; | 421 bool active_ = true; |
423 uint16_t id_ = 0; | 422 uint16_t id_ = 0; |
424 | 423 |
425 friend class NetworkManager; | 424 friend class NetworkManager; |
426 }; | 425 }; |
427 | 426 |
428 } // namespace rtc | 427 } // namespace rtc |
429 | 428 |
430 #endif // WEBRTC_BASE_NETWORK_H_ | 429 #endif // WEBRTC_BASE_NETWORK_H_ |
OLD | NEW |