Chromium Code Reviews| 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 |