Export some more symbols for use in chromium tests.
Bug: chromium:1408420
Change-Id: I4d427dfacf79c3dbbbcd9bf969f1af7fee4a2f67
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/291522
Commit-Queue: Sameer Vijaykar <samvi@google.com>
Reviewed-by: Jonas Oreland <jonaso@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39211}
diff --git a/p2p/base/ice_controller_interface.h b/p2p/base/ice_controller_interface.h
index 482043e..8b63ed3 100644
--- a/p2p/base/ice_controller_interface.h
+++ b/p2p/base/ice_controller_interface.h
@@ -19,12 +19,13 @@
#include "p2p/base/connection.h"
#include "p2p/base/ice_switch_reason.h"
#include "p2p/base/ice_transport_internal.h"
+#include "rtc_base/system/rtc_export.h"
namespace cricket {
struct IceFieldTrials; // Forward declaration to avoid circular dependency.
-struct IceRecheckEvent {
+struct RTC_EXPORT IceRecheckEvent {
IceRecheckEvent(IceSwitchReason _reason, int _recheck_delay_ms)
: reason(_reason), recheck_delay_ms(_recheck_delay_ms) {}
diff --git a/p2p/base/ice_switch_reason.h b/p2p/base/ice_switch_reason.h
index 2c4fe31..65f49d3 100644
--- a/p2p/base/ice_switch_reason.h
+++ b/p2p/base/ice_switch_reason.h
@@ -13,6 +13,8 @@
#include <string>
+#include "rtc_base/system/rtc_export.h"
+
namespace cricket {
enum class IceSwitchReason {
@@ -31,7 +33,7 @@
ICE_CONTROLLER_RECHECK,
};
-std::string IceSwitchReasonToString(IceSwitchReason reason);
+RTC_EXPORT std::string IceSwitchReasonToString(IceSwitchReason reason);
} // namespace cricket
diff --git a/rtc_base/ip_address.h b/rtc_base/ip_address.h
index 58ad8ba..897e165 100644
--- a/rtc_base/ip_address.h
+++ b/rtc_base/ip_address.h
@@ -174,7 +174,7 @@
// or an address belonging to a link-local, a private network or a shared
// network.
RTC_EXPORT bool IPIsPrivate(const IPAddress& ip);
-bool IPIsUnspec(const IPAddress& ip);
+RTC_EXPORT bool IPIsUnspec(const IPAddress& ip);
size_t HashIP(const IPAddress& ip);
// These are only really applicable for IPv6 addresses.