aboutsummaryrefslogtreecommitdiff
path: root/p2p
diff options
context:
space:
mode:
authorSteve Anton <steveanton@webrtc.org>2020-01-27 15:56:08 -0800
committerCommit Bot <commit-bot@chromium.org>2020-01-28 01:46:04 +0000
commit8a6f9a03f0207ea8293dc1f13c478b57ba5a5df0 (patch)
tree7fd68a234b720dc7fae3fdab1ec08ac81bbca338 /p2p
parent11b66cf1103c54781ec53f5f75e490959ae9edd1 (diff)
downloadwebrtc-8a6f9a03f0207ea8293dc1f13c478b57ba5a5df0.tar.gz
Export IceParameters::Parse for use in Chrome
Bug: chromium:1044521 Change-Id: I7c6fb0ba5ac918858ed65f9fe503c4de6f6acce5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/167683 Commit-Queue: Steve Anton <steveanton@webrtc.org> Commit-Queue: Qingsi Wang <qingsi@webrtc.org> Reviewed-by: Qingsi Wang <qingsi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30387}
Diffstat (limited to 'p2p')
-rw-r--r--p2p/base/transport_description.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/p2p/base/transport_description.h b/p2p/base/transport_description.h
index e7934bab20..d7eedf15ef 100644
--- a/p2p/base/transport_description.h
+++ b/p2p/base/transport_description.h
@@ -20,6 +20,7 @@
#include "api/rtc_error.h"
#include "p2p/base/p2p_constants.h"
#include "rtc_base/ssl_fingerprint.h"
+#include "rtc_base/system/rtc_export.h"
namespace cricket {
@@ -59,8 +60,9 @@ enum ConnectionRole {
struct IceParameters {
// Constructs an IceParameters from a user-provided ufrag/pwd combination.
// Returns a SyntaxError if the ufrag or pwd are malformed.
- static webrtc::RTCErrorOr<IceParameters> Parse(absl::string_view raw_ufrag,
- absl::string_view raw_pwd);
+ static RTC_EXPORT webrtc::RTCErrorOr<IceParameters> Parse(
+ absl::string_view raw_ufrag,
+ absl::string_view raw_pwd);
// TODO(honghaiz): Include ICE mode in this structure to match the ORTC
// struct: