mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
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
3 changed files with 6 additions and 3 deletions
|
@ -19,12 +19,13 @@
|
||||||
#include "p2p/base/connection.h"
|
#include "p2p/base/connection.h"
|
||||||
#include "p2p/base/ice_switch_reason.h"
|
#include "p2p/base/ice_switch_reason.h"
|
||||||
#include "p2p/base/ice_transport_internal.h"
|
#include "p2p/base/ice_transport_internal.h"
|
||||||
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
namespace cricket {
|
namespace cricket {
|
||||||
|
|
||||||
struct IceFieldTrials; // Forward declaration to avoid circular dependency.
|
struct IceFieldTrials; // Forward declaration to avoid circular dependency.
|
||||||
|
|
||||||
struct IceRecheckEvent {
|
struct RTC_EXPORT IceRecheckEvent {
|
||||||
IceRecheckEvent(IceSwitchReason _reason, int _recheck_delay_ms)
|
IceRecheckEvent(IceSwitchReason _reason, int _recheck_delay_ms)
|
||||||
: reason(_reason), recheck_delay_ms(_recheck_delay_ms) {}
|
: reason(_reason), recheck_delay_ms(_recheck_delay_ms) {}
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
namespace cricket {
|
namespace cricket {
|
||||||
|
|
||||||
enum class IceSwitchReason {
|
enum class IceSwitchReason {
|
||||||
|
@ -31,7 +33,7 @@ enum class IceSwitchReason {
|
||||||
ICE_CONTROLLER_RECHECK,
|
ICE_CONTROLLER_RECHECK,
|
||||||
};
|
};
|
||||||
|
|
||||||
std::string IceSwitchReasonToString(IceSwitchReason reason);
|
RTC_EXPORT std::string IceSwitchReasonToString(IceSwitchReason reason);
|
||||||
|
|
||||||
} // namespace cricket
|
} // 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
|
// or an address belonging to a link-local, a private network or a shared
|
||||||
// network.
|
// network.
|
||||||
RTC_EXPORT bool IPIsPrivate(const IPAddress& ip);
|
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);
|
size_t HashIP(const IPAddress& ip);
|
||||||
|
|
||||||
// These are only really applicable for IPv6 addresses.
|
// These are only really applicable for IPv6 addresses.
|
||||||
|
|
Loading…
Reference in a new issue