HomeSort by relevance Sort by last modified time
    Searched refs:WebSocketHandle (Results 1 - 20 of 20) sorted by null

  /external/chromium_org/third_party/WebKit/public/platform/
WebSocketHandleClient.h 35 #include "public/platform/WebSocketHandle.h"
48 virtual void didConnect(WebSocketHandle*, bool fail, const WebString& selectedProtocol, const WebString& extensions) = 0;
52 virtual void didStartOpeningHandshake(WebSocketHandle*, const WebSocketHandshakeRequestInfo&) = 0;
57 virtual void didFinishOpeningHandshake(WebSocketHandle*, const WebSocketHandshakeResponseInfo&) = 0;
65 virtual void didFail(WebSocketHandle* /* handle */, const WebString& message) = 0;
68 virtual void didReceiveData(WebSocketHandle*, bool fin, WebSocketHandle::MessageType, const char* data, size_t /* size */) = 0;
72 virtual void didClose(WebSocketHandle* /* handle */, bool wasClean, unsigned short code, const WebString& reason) = 0;
74 virtual void didReceiveFlowControl(WebSocketHandle*, int64_t quota) = 0;
78 virtual void didStartClosingHandshake(WebSocketHandle*) = 0
    [all...]
WebSocketHandle.h 46 // WebSocketHandle is an interface class designed to be a handle of WebSocket connection.
47 // WebSocketHandle will be used together with WebSocketHandleClient.
49 // Once a WebSocketHandle is deleted there will be no notification to the corresponding WebSocketHandleClient.
50 // Once a WebSocketHandleClient receives DidClose, any method of the corresponding WebSocketHandle can't be called.
52 class WebSocketHandle {
60 virtual ~WebSocketHandle() { }
Platform.h 97 class WebSocketHandle;
313 // Returns a new WebSocketHandle instance.
314 virtual WebSocketHandle* createWebSocketHandle() { return 0; }
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
NewWebSocketChannelImpl.h 40 #include "public/platform/WebSocketHandle.h"
68 static NewWebSocketChannelImpl* create(ExecutionContext* context, WebSocketChannelClient* client, const String& sourceURL = String(), unsigned lineNumber = 0, WebSocketHandle *handle = 0)
124 NewWebSocketChannelImpl(ExecutionContext*, WebSocketChannelClient*, const String&, unsigned, WebSocketHandle*);
133 virtual void didConnect(WebSocketHandle*, bool fail, const WebString& selectedProtocol, const WebString& extensions) OVERRIDE;
134 virtual void didStartOpeningHandshake(WebSocketHandle*, const WebSocketHandshakeRequestInfo&) OVERRIDE;
135 virtual void didFinishOpeningHandshake(WebSocketHandle*, const WebSocketHandshakeResponseInfo&) OVERRIDE;
136 virtual void didFail(WebSocketHandle*, const WebString& message) OVERRIDE;
137 virtual void didReceiveData(WebSocketHandle*, bool fin, WebSocketHandle::MessageType, const char* data, size_t /* size */) OVERRIDE;
138 virtual void didClose(WebSocketHandle*, bool wasClean, unsigned short code, const WebString& reason) OVERRIDE
    [all...]
NewWebSocketChannelImplTest.cpp 17 #include "public/platform/WebSocketHandle.h"
73 class MockWebSocketHandle : public WebSocketHandle {
85 MOCK_METHOD4(send, void(bool, WebSocketHandle::MessageType, const char*, size_t));
186 EXPECT_CALL(*handle(), send(true, WebSocketHandle::MessageTypeText, MemEq("foo", 3), 3));
187 EXPECT_CALL(*handle(), send(true, WebSocketHandle::MessageTypeText, MemEq("bar", 3), 3));
188 EXPECT_CALL(*handle(), send(true, WebSocketHandle::MessageTypeText, MemEq("baz", 3), 3));
207 EXPECT_CALL(*handle(), send(false, WebSocketHandle::MessageTypeText, MemEq("0123456789abcdef", 16), 16));
209 EXPECT_CALL(*handle(), send(true, WebSocketHandle::MessageTypeContinuation, MemEq("g", 1), 1));
210 EXPECT_CALL(*handle(), send(true, WebSocketHandle::MessageTypeText, MemEq("hijk", 4), 4));
211 EXPECT_CALL(*handle(), send(false, WebSocketHandle::MessageTypeText, MemEq("lmnopqrstuv", 11), 11))
    [all...]
NewWebSocketChannelImpl.cpp 59 using blink::WebSocketHandle;
112 NewWebSocketChannelImpl::NewWebSocketChannelImpl(ExecutionContext* context, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber, WebSocketHandle *handle)
314 WebSocketHandle::MessageType type =
315 m_sentSizeOfTopMessage ? WebSocketHandle::MessageTypeContinuation : WebSocketHandle::MessageTypeText;
329 WebSocketHandle::MessageType type =
330 m_sentSizeOfTopMessage ? WebSocketHandle::MessageTypeContinuation : WebSocketHandle::MessageTypeBinary;
340 WebSocketHandle::MessageType type =
341 m_sentSizeOfTopMessage ? WebSocketHandle::MessageTypeContinuation : WebSocketHandle::MessageTypeBinary
    [all...]
  /external/chromium_org/mojo/services/html_viewer/
websockethandle_impl.cc 22 using blink::WebSocketHandle;
31 struct TypeConverter<WebSocket::MessageType, WebSocketHandle::MessageType> {
32 static WebSocket::MessageType Convert(WebSocketHandle::MessageType type) {
33 DCHECK(type == WebSocketHandle::MessageTypeContinuation ||
34 type == WebSocketHandle::MessageTypeText ||
35 type == WebSocketHandle::MessageTypeBinary);
38 static_cast<MessageType>(WebSocketHandle::MessageTypeContinuation) ==
42 static_cast<MessageType>(WebSocketHandle::MessageTypeText) ==
46 static_cast<MessageType>(WebSocketHandle::MessageTypeBinary) ==
54 struct TypeConverter<WebSocketHandle::MessageType, WebSocket::MessageType>
    [all...]
websockethandle_impl.h 11 #include "third_party/WebKit/public/platform/WebSocketHandle.h"
18 // Implements WebSocketHandle by talking to the mojo WebSocket interface.
19 class WebSocketHandleImpl : public blink::WebSocketHandle {
28 // blink::WebSocketHandle methods:
43 WebSocketHandle::MessageType type,
blink_platform_impl.h 46 virtual blink::WebSocketHandle* createWebSocketHandle();
blink_platform_impl.cc 172 blink::WebSocketHandle* BlinkPlatformImpl::createWebSocketHandle() {
  /external/chromium_org/content/child/
websocket_bridge.cc 21 #include "third_party/WebKit/public/platform/WebSocketHandle.h"
32 using blink::WebSocketHandle;
157 WebSocketHandle::MessageType type_to_pass =
158 WebSocketHandle::MessageTypeContinuation;
161 type_to_pass = WebSocketHandle::MessageTypeContinuation;
164 type_to_pass = WebSocketHandle::MessageTypeText;
167 type_to_pass = WebSocketHandle::MessageTypeBinary;
235 WebSocketHandle::MessageType type,
243 case WebSocketHandle::MessageTypeContinuation:
246 case WebSocketHandle::MessageTypeText
    [all...]
websocket_bridge.h 15 #include "third_party/WebKit/public/platform/WebSocketHandle.h"
26 class WebSocketBridge : public blink::WebSocketHandle {
33 // WebSocketHandle functions.
39 WebSocketHandle::MessageType type,
blink_platform_impl.h 78 virtual blink::WebSocketHandle* createWebSocketHandle() OVERRIDE;
blink_platform_impl.cc 442 blink::WebSocketHandle* BlinkPlatformImpl::createWebSocketHandle() {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/loader/
FrameLoaderClient.h 48 class WebSocketHandle;
192 virtual void dispatchWillOpenWebSocket(blink::WebSocketHandle*) { }
  /external/chromium_org/third_party/WebKit/public/web/
WebFrameClient.h 78 class WebSocketHandle;
496 virtual void willOpenWebSocket(WebSocketHandle*) { }
  /external/chromium_org/third_party/WebKit/Source/web/
FrameLoaderClientImpl.h 150 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) OVERRIDE;
FrameLoaderClientImpl.cpp 761 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle)
  /external/chromium_org/content/renderer/
render_frame_impl.h 424 virtual void willOpenWebSocket(blink::WebSocketHandle* handle);
    [all...]
render_frame_impl.cc     [all...]

Completed in 1092 milliseconds