Searched refs:WebSocketChannel (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DWebSocketChannel.h47 // FIXME: WebSocketChannel needs to be RefCountedGarbageCollected to support manual ref/deref
50 class WebSocketChannel : public RefCountedGarbageCollected<WebSocketChannel> { class in namespace:blink
51 WTF_MAKE_NONCOPYABLE(WebSocketChannel);
53 WebSocketChannel() { } function in class:blink::WebSocketChannel
54 static WebSocketChannel* create(ExecutionContext*, WebSocketChannelClient*);
105 virtual ~WebSocketChannel() { }
H A DWebSocketChannel.cpp33 #include "modules/websockets/WebSocketChannel.h"
49 WebSocketChannel* WebSocketChannel::create(ExecutionContext* context, WebSocketChannelClient* client)
H A DDOMWebSocket.h37 #include "modules/websockets/WebSocketChannel.h"
184 // FIXME: Move WebSocketChannel::create here.
185 virtual WebSocketChannel* createChannel(ExecutionContext* context, WebSocketChannelClient* client)
187 return WebSocketChannel::create(context, client);
212 Member<WebSocketChannel> m_channel;
H A DWorkerThreadableWebSocketChannel.h35 #include "modules/websockets/WebSocketChannel.h"
55 class WorkerThreadableWebSocketChannel FINAL : public WebSocketChannel {
58 static WebSocketChannel* create(WorkerGlobalScope& workerGlobalScope, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber)
64 // WebSocketChannel functions.
122 Member<WebSocketChannel> m_mainWebSocketChannel;
H A DNewWebSocketChannelImplTest.cpp6 #include "modules/websockets/WebSocketChannel.h"
115 WebSocketChannel* channel()
117 return static_cast<WebSocketChannel*>(m_channel.get());
521 // FIXME: Add tests for WebSocketChannel::send(PassRefPtr<BlobDataHandle>)
673 EXPECT_CALL(*handle(), close(WebSocketChannel::CloseEventCodeNormalClosure, WebString("close reason")));
676 EXPECT_CALL(*channelClient(), didClose(WebSocketChannelClient::ClosingHandshakeComplete, WebSocketChannel::CloseEventCodeNormalClosure, String("close reason")));
683 channel()->close(WebSocketChannel::CloseEventCodeNormalClosure, String("close reason"));
686 handleClient()->didClose(handle(), true, WebSocketChannel::CloseEventCodeNormalClosure, String("close reason"));
699 EXPECT_CALL(*handle(), close(WebSocketChannel::CloseEventCodeNormalClosure, WebString("close reason")));
702 EXPECT_CALL(*channelClient(), didClose(WebSocketChannelClient::ClosingHandshakeComplete, WebSocketChannel
[all...]
H A DDOMWebSocket.cpp456 closeInternal(WebSocketChannel::CloseEventCodeNotSpecified, String(), exceptionState);
466 if (code == WebSocketChannel::CloseEventCodeNotSpecified) {
470 if (!(code == WebSocketChannel::CloseEventCodeNormalClosure || (WebSocketChannel::CloseEventCodeMinimumUserDefined <= code && code <= WebSocketChannel::CloseEventCodeMaximumUserDefined))) {
584 m_channel->close(WebSocketChannel::CloseEventCodeGoingAway, String());
667 bool wasClean = m_state == CLOSING && hasAllDataConsumed && closingHandshakeCompletion == ClosingHandshakeComplete && code != WebSocketChannel::CloseEventCodeAbnormalClosure;
H A DMainThreadWebSocketChannel.h37 #include "modules/websockets/WebSocketChannel.h"
59 class MainThreadWebSocketChannel FINAL : public WebSocketChannel, public SocketStreamHandleClient, public FileReaderLoaderClient {
72 // WebSocketChannel functions.
H A DNewWebSocketChannelImpl.h38 #include "modules/websockets/WebSocketChannel.h"
61 class NewWebSocketChannelImpl FINAL : public WebSocketChannel, public WebSocketHandleClient, public ContextLifecycleObserver {
74 // WebSocketChannel functions.
H A DWorkerThreadableWebSocketChannel.cpp185 WebSocketChannel::trace(visitor);
H A DDOMWebSocketTest.cpp38 class MockWebSocketChannel : public WebSocketChannel {
77 virtual WebSocketChannel* createChannel(ExecutionContext*, WebSocketChannelClient*) OVERRIDE
H A DNewWebSocketChannelImpl.cpp564 WebSocketChannel::trace(visitor);
H A DMainThreadWebSocketChannel.cpp861 WebSocketChannel::trace(visitor);
/external/chromium_org/net/websockets/
H A Dwebsocket_channel.cc127 class WebSocketChannel::SendBuffer {
147 void WebSocketChannel::SendBuffer::AddFrame(scoped_ptr<WebSocketFrame> frame) {
153 // calls on to the WebSocketChannel that created it.
154 class WebSocketChannel::ConnectDelegate
157 explicit ConnectDelegate(WebSocketChannel* creator) : creator_(creator) {}
189 // A pointer to the WebSocketChannel that created this object. There is no
190 // danger of this pointer being stale, because deleting the WebSocketChannel
193 WebSocketChannel* const creator_;
198 class WebSocketChannel::HandshakeNotificationSender
201 explicit HandshakeNotificationSender(WebSocketChannel* channe
293 WebSocketChannel::WebSocketChannel( function in class:net::WebSocketChannel
[all...]
H A Dwebsocket_channel.h44 class NET_EXPORT WebSocketChannel { class in namespace:net
56 // Creates a new WebSocketChannel in an idle state.
59 WebSocketChannel(scoped_ptr<WebSocketEventInterface> event_interface,
61 virtual ~WebSocketChannel();
91 // handshake, but destroying the WebSocketChannel object while connected will
185 // WebSocketChannel. WebSocketChannel does not inherit from
188 // lifetime of a WebSocketChannel is longer than the lifetime of the
374 base::OneShotTimer<WebSocketChannel> timer_;
411 DISALLOW_COPY_AND_ASSIGN(WebSocketChannel);
[all...]
H A Dwebsocket_channel_test.cc748 // Creates a new WebSocketChannel and connects it, using the settings stored
751 channel_.reset(new WebSocketChannel(CreateEventInterface(),
771 // Returns a WebSocketEventInterface to be passed to the WebSocketChannel.
810 scoped_ptr<WebSocketChannel> channel_;
861 // A FakeWebSocketEventInterface that deletes the WebSocketChannel on failure to
1044 // Any WebSocketEventInterface methods can delete the WebSocketChannel and
1888 // WebSocketChannel should report code 1005, kWebSocketErrorNoStatusReceived.
2164 // was fired by the behaviour of the WebSocketChannel object.
2203 // WebSocketChannel calls ReadFrames as soon as the stream is available.
2477 // WebSocketChannel actuall
[all...]
/external/chromium_org/mojo/services/network/
H A Dweb_socket_impl.h14 class WebSocketChannel;
48 scoped_ptr<net::WebSocketChannel> channel_;
H A Dweb_socket_impl.cc201 channel_.reset(new net::WebSocketChannel(event_interface.Pass(),
/external/chromium_org/content/browser/renderer_host/
H A Dwebsocket_host.h22 class WebSocketChannel;
34 // Host of net::WebSocketChannel. The lifetime of an instance of this class is
71 scoped_ptr<net::WebSocketChannel> channel_;
H A Dwebsocket_host.cc84 // WebSocketChannel object. Each event is translated to an IPC and sent to the
365 new net::WebSocketChannel(event_interface.Pass(), url_request_context_));
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebSocketImpl.h46 class WebSocketChannel;
79 Persistent<WebSocketChannel> m_private;
/external/chromium_org/third_party/WebKit/Source/modules/
H A Dmodules.target.darwin-arm.mk442 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
H A Dmodules.target.darwin-arm64.mk442 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
H A Dmodules.target.darwin-mips.mk442 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
H A Dmodules.target.darwin-mips64.mk442 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
H A Dmodules.target.darwin-x86.mk442 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \

Completed in 2933 milliseconds

12