| Index: public/platform/WebRTCDataChannelInit.h
|
| diff --git a/public/platform/WebDeviceMotionListener.h b/public/platform/WebRTCDataChannelInit.h
|
| similarity index 78%
|
| copy from public/platform/WebDeviceMotionListener.h
|
| copy to public/platform/WebRTCDataChannelInit.h
|
| index b8da1500d6afa8f7c97bb38454effb119de1a4a2..5ab0d05a61ffc54854d3ada335613d09ab6d77ba 100644
|
| --- a/public/platform/WebDeviceMotionListener.h
|
| +++ b/public/platform/WebRTCDataChannelInit.h
|
| @@ -28,19 +28,29 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebDeviceMotionListener_h
|
| -#define WebDeviceMotionListener_h
|
| +#ifndef WebRTCDataChannelInit_h
|
| +#define WebRTCDataChannelInit_h
|
|
|
| -namespace WebKit {
|
| +#include "WebString.h"
|
|
|
| -class WebDeviceMotionData;
|
| +namespace WebKit {
|
|
|
| -class WebDeviceMotionListener {
|
| +struct WebRTCDataChannelInit {
|
| public:
|
| - // This method is called every time new device motion data is available.
|
| - virtual void didChangeDeviceMotion(const WebDeviceMotionData&) = 0;
|
| + WebRTCDataChannelInit()
|
| + : ordered(true)
|
| + , maxRetransmitTime(-1)
|
| + , maxRetransmits(-1)
|
| + , negotiated(true)
|
| + , id(-1) { }
|
| + bool ordered;
|
| + int maxRetransmitTime;
|
| + int maxRetransmits;
|
| + WebString protocol;
|
| + bool negotiated;
|
| + int id;
|
| };
|
|
|
| } // namespace WebKit
|
|
|
| -#endif // WebDeviceMotionListener_h
|
| +#endif // WebRTCDataChannelInit_h
|
|
|