#include "WebPrivatePtr.h"
#include "WebVector.h"
-namespace WebCore {
+namespace blink {
+
class RTCIceServer;
class RTCConfiguration;
-}
-
-namespace blink {
class WebString;
class WebURL;
BLINK_PLATFORM_EXPORT WebString credential() const;
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebRTCICEServer(const WTF::PassRefPtr<WebCore::RTCIceServer>&);
+ BLINK_PLATFORM_EXPORT WebRTCICEServer(const WTF::PassRefPtr<RTCIceServer>&);
#endif
private:
- WebPrivatePtr<WebCore::RTCIceServer> m_private;
+ WebPrivatePtr<RTCIceServer> m_private;
+};
+
+enum WebRTCIceTransports {
+ WebRTCIceTransportsNone,
+ WebRTCIceTransportsRelay,
+ WebRTCIceTransportsAll
};
class WebRTCConfiguration {
BLINK_PLATFORM_EXPORT size_t numberOfServers() const;
BLINK_PLATFORM_EXPORT WebRTCICEServer server(size_t index) const;
+ BLINK_PLATFORM_EXPORT WebRTCIceTransports iceTransports() const;
+
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebRTCConfiguration(const WTF::PassRefPtr<WebCore::RTCConfiguration>&);
+ BLINK_PLATFORM_EXPORT WebRTCConfiguration(const WTF::PassRefPtr<RTCConfiguration>&);
#endif
private:
- WebPrivatePtr<WebCore::RTCConfiguration> m_private;
+ WebPrivatePtr<RTCConfiguration> m_private;
};
} // namespace blink