Home
last modified time | relevance | path

Searched refs:binaryType (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/
DWebSocketImpl.cpp72 WebSocket::BinaryType WebSocketImpl::binaryType() const in binaryType() function in blink::WebSocketImpl
77 bool WebSocketImpl::setBinaryType(BinaryType binaryType) in setBinaryType() argument
79 if (binaryType > BinaryTypeArrayBuffer) in setBinaryType()
81 m_binaryType = binaryType; in setBinaryType()
DWebSocketImpl.h57 virtual BinaryType binaryType() const OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
DRTCDataChannel.cpp160 String RTCDataChannel::binaryType() const in binaryType() function in WebCore::RTCDataChannel
172 void RTCDataChannel::setBinaryType(const String& binaryType, ExceptionState& exceptionState) in setBinaryType() argument
174 if (binaryType == "blob") in setBinaryType()
176 else if (binaryType == "arraybuffer") in setBinaryType()
179 exceptionState.throwDOMException(TypeMismatchError, "Unknown binary type : " + binaryType); in setBinaryType()
DRTCDataChannel.h70 String binaryType() const;
DRTCDataChannel.idl46 [RaisesException=Setter] attribute DOMString binaryType;
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocket.cpp532 String WebSocket::binaryType() const in binaryType() function in WebCore::WebSocket
544 void WebSocket::setBinaryType(const String& binaryType) in setBinaryType() argument
546 if (binaryType == "blob") { in setBinaryType()
550 if (binaryType == "arraybuffer") { in setBinaryType()
554 …logError("'" + binaryType + "' is not a valid value for binaryType; binaryType remains unchanged."… in setBinaryType()
DWebSocket.idl35 // FIXME: use BinaryType in binaryType
70 attribute DOMString binaryType;
DWebSocketTest.cpp720 TEST_F(WebSocketTest, binaryType) in TEST_F() argument
722 EXPECT_EQ("blob", m_websocket->binaryType()); in TEST_F()
726 EXPECT_EQ("blob", m_websocket->binaryType()); in TEST_F()
730 EXPECT_EQ("arraybuffer", m_websocket->binaryType()); in TEST_F()
734 EXPECT_EQ("arraybuffer", m_websocket->binaryType()); in TEST_F()
738 EXPECT_EQ("blob", m_websocket->binaryType()); in TEST_F()
DWebSocket.h97 String binaryType() const;
/external/chromium_org/third_party/WebKit/public/web/
DWebSocket.h83 virtual BinaryType binaryType() const = 0;