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

Unified Diff: webrtc/base/ifaddrs_converter.h

Issue 1547883002: Revert "Enable IPv6 temporary address filtering on iOS." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years 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/base.gyp ('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
deleted file mode 100644
index 0a1cdb9e41a803dcbf16b00455ab93e3cfd7a906..0000000000000000000000000000000000000000
--- a/webrtc/base/ifaddrs_converter.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright 2015 The WebRTC Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#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
-
-#endif // WEBRTC_BASE_IFADDRS_CONVERTER_H_
« no previous file with comments | « webrtc/base/base.gyp ('k') | webrtc/base/ifaddrs_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698