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}
This commit is contained in:
parent
ca1cfd45de
commit
a2653bc236
@ -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) {}
|
||||
|
||||
|
||||
@ -13,6 +13,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace cricket {
|
||||
|
||||
enum class IceSwitchReason {
|
||||
@ -31,7 +33,7 @@ enum class IceSwitchReason {
|
||||
ICE_CONTROLLER_RECHECK,
|
||||
};
|
||||
|
||||
std::string IceSwitchReasonToString(IceSwitchReason reason);
|
||||
RTC_EXPORT std::string IceSwitchReasonToString(IceSwitchReason reason);
|
||||
|
||||
} // namespace cricket
|
||||
|
||||
|
||||
@ -174,7 +174,7 @@ bool IPIsSharedNetwork(const IPAddress& ip);
|
||||
// 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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user