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

Unified Diff: Source/platform/mediastream/RTCConfiguration.h

Issue 1315413004: Enable generation of local host candidate. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months 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 | « Source/platform/exported/WebRTCConfiguration.cpp ('k') | public/platform/WebRTCConfiguration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mediastream/RTCConfiguration.h
diff --git a/Source/platform/mediastream/RTCConfiguration.h b/Source/platform/mediastream/RTCConfiguration.h
index e64b7f40a7995e18667ee795ae849f4706ed6522..1e1a3007539693d4efa3101771f37b733410d70a 100644
--- a/Source/platform/mediastream/RTCConfiguration.h
+++ b/Source/platform/mediastream/RTCConfiguration.h
@@ -95,6 +95,8 @@ public:
RTCBundlePolicy bundlePolicy() { return m_bundlePolicy; }
void setRtcpMuxPolicy(RTCRtcpMuxPolicy rtcpMuxPolicy) { m_rtcpMuxPolicy = rtcpMuxPolicy; }
RTCRtcpMuxPolicy rtcpMuxPolicy() { return m_rtcpMuxPolicy; }
+ bool enableLocalhostCandidate() { return m_enableLocalhostCandidate; }
+ void setEnableLocalhostCandidate(bool enableLocalhostCandidate) { m_enableLocalhostCandidate = enableLocalhostCandidate; }
DEFINE_INLINE_TRACE() { visitor->trace(m_servers); }
@@ -102,12 +104,14 @@ private:
RTCConfiguration() :
m_iceTransports(RTCIceTransportsAll),
m_bundlePolicy(RTCBundlePolicyBalanced),
- m_rtcpMuxPolicy(RTCRtcpMuxPolicyNegotiate) { }
+ m_rtcpMuxPolicy(RTCRtcpMuxPolicyNegotiate),
+ m_enableLocalhostCandidate(false) { }
HeapVector<Member<RTCIceServer>> m_servers;
juberti 2015/08/28 00:34:58 Could this be a pointer instead? Then, if undefine
guoweis_left_chromium 2015/08/28 04:53:58 since we're not going to expose m_servers public,
RTCIceTransports m_iceTransports;
RTCBundlePolicy m_bundlePolicy;
RTCRtcpMuxPolicy m_rtcpMuxPolicy;
+ bool m_enableLocalhostCandidate;
};
} // namespace blink
« no previous file with comments | « Source/platform/exported/WebRTCConfiguration.cpp ('k') | public/platform/WebRTCConfiguration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698