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