Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Unified Diff: webrtc/base/ifaddrs_converter.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/ifaddrs-android.cc ('k') | webrtc/base/ifaddrs_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/ifaddrs_converter.h
diff --git a/webrtc/base/ifaddrs_converter.h b/webrtc/base/ifaddrs_converter.h
index 0a1cdb9e41a803dcbf16b00455ab93e3cfd7a906..de7ad87eeeae4ac250fc511437c7d933ad63e6d9 100644
--- a/webrtc/base/ifaddrs_converter.h
+++ b/webrtc/base/ifaddrs_converter.h
@@ -11,35 +11,9 @@
#ifndef WEBRTC_BASE_IFADDRS_CONVERTER_H_
#define WEBRTC_BASE_IFADDRS_CONVERTER_H_
-#if defined(WEBRTC_ANDROID)
-#include "webrtc/base/ifaddrs-android.h"
-#else
-#include <ifaddrs.h>
-#endif // WEBRTC_ANDROID
-#include "webrtc/base/ipaddress.h"
-
-namespace rtc {
-
-// This class converts native interface addresses to our internal IPAddress
-// class. Subclasses should override ConvertNativeToIPAttributes to implement
-// the different ways of retrieving IPv6 attributes for various POSIX platforms.
-class IfAddrsConverter {
- public:
- IfAddrsConverter();
- virtual ~IfAddrsConverter();
- virtual bool ConvertIfAddrsToIPAddress(const struct ifaddrs* interface,
- InterfaceAddress* ipaddress,
- IPAddress* mask);
-
- protected:
- virtual bool ConvertNativeAttributesToIPAttributes(
- const struct ifaddrs* interface,
- int* ip_attributes);
-};
-
-IfAddrsConverter* CreateIfAddrsConverter();
-
-} // namespace rtc
+// This header is deprecated and is just left here temporarily during
+// refactoring. See https://bugs.webrtc.org/7634 for more details.
+#include "webrtc/rtc_base/ifaddrs_converter.h"
#endif // WEBRTC_BASE_IFADDRS_CONVERTER_H_
« no previous file with comments | « webrtc/base/ifaddrs-android.cc ('k') | webrtc/base/ifaddrs_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698