Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebRTCConfiguration.h
index 2d3f68c..c307cdf 100644 (file)
 #include "WebPrivatePtr.h"
 #include "WebVector.h"
 
-namespace WebCore {
+namespace blink {
+
 class RTCIceServer;
 class RTCConfiguration;
-}
-
-namespace blink {
 class WebString;
 class WebURL;
 
@@ -67,11 +65,17 @@ public:
     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 {
@@ -94,12 +98,14 @@ public:
     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