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

Unified Diff: public/platform/WebRTCDataChannelInit.h

Issue 16305017: Removes the old createDataChannel and starts to use the new one with WebRTCDataChannelInit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
Index: public/platform/WebRTCDataChannelInit.h
diff --git a/public/webview/WebInbandTextTrackClient.h b/public/platform/WebRTCDataChannelInit.h
similarity index 78%
copy from public/webview/WebInbandTextTrackClient.h
copy to public/platform/WebRTCDataChannelInit.h
index dea4043884a7cc77ab5887582b0f0658f96a66f0..18e7f849a61238295359c9945c8d47f479c39b91 100644
--- a/public/webview/WebInbandTextTrackClient.h
+++ b/public/platform/WebRTCDataChannelInit.h
@@ -28,24 +28,30 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebInbandTextTrackClient_h
-#define WebInbandTextTrackClient_h
+#ifndef WebRTCDataChannelInit_h
+#define WebRTCDataChannelInit_h
-namespace WebKit {
+#include "WebString.h"
-class WebString;
+namespace WebKit {
-class WebInbandTextTrackClient {
+struct WebRTCDataChannelInit {
public:
- virtual ~WebInbandTextTrackClient() {}
+ WebRTCDataChannelInit()
+ : id(-1)
+ , ordered(true)
+ , negotiated(true)
+ , maxRetransmitTime(-1)
+ , maxRetransmits(-1) { }
- virtual void addWebVTTCue(double start,
- double end,
- const WebString& id,
- const WebString& content,
- const WebString& settings) = 0;
+ int id;
+ bool ordered;
+ bool negotiated;
+ int maxRetransmitTime;
+ int maxRetransmits;
Ami GONE FROM CHROMIUM 2013/06/05 20:18:28 IWBN for this to match the order in talk/app/webrt
+ WebString protocol;
};
} // namespace WebKit
-#endif
+#endif // WebRTCDataChannelInit_h

Powered by Google App Engine
This is Rietveld 408576698