| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 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_IFADDRS_CONVERTER_H_ | 11 #ifndef WEBRTC_RTC_BASE_IFADDRS_CONVERTER_H_ |
| 12 #define WEBRTC_BASE_IFADDRS_CONVERTER_H_ | 12 #define WEBRTC_RTC_BASE_IFADDRS_CONVERTER_H_ |
| 13 | 13 |
| 14 #if defined(WEBRTC_ANDROID) | 14 #if defined(WEBRTC_ANDROID) |
| 15 #include "webrtc/base/ifaddrs-android.h" | 15 #include "webrtc/base/ifaddrs-android.h" |
| 16 #else | 16 #else |
| 17 #include <ifaddrs.h> | 17 #include <ifaddrs.h> |
| 18 #endif // WEBRTC_ANDROID | 18 #endif // WEBRTC_ANDROID |
| 19 | 19 |
| 20 #include "webrtc/base/ipaddress.h" | 20 #include "webrtc/base/ipaddress.h" |
| 21 | 21 |
| 22 namespace rtc { | 22 namespace rtc { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 35 protected: | 35 protected: |
| 36 virtual bool ConvertNativeAttributesToIPAttributes( | 36 virtual bool ConvertNativeAttributesToIPAttributes( |
| 37 const struct ifaddrs* interface, | 37 const struct ifaddrs* interface, |
| 38 int* ip_attributes); | 38 int* ip_attributes); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 IfAddrsConverter* CreateIfAddrsConverter(); | 41 IfAddrsConverter* CreateIfAddrsConverter(); |
| 42 | 42 |
| 43 } // namespace rtc | 43 } // namespace rtc |
| 44 | 44 |
| 45 #endif // WEBRTC_BASE_IFADDRS_CONVERTER_H_ | 45 #endif // WEBRTC_RTC_BASE_IFADDRS_CONVERTER_H_ |
| OLD | NEW |