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

  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketChannel.h 47 class WebSocketChannel {
48 WTF_MAKE_NONCOPYABLE(WebSocketChannel);
50 WebSocketChannel() { }
51 static PassRefPtr<WebSocketChannel> create(ExecutionContext*, WebSocketChannelClient*);
110 virtual ~WebSocketChannel() { }
ThreadableWebSocketChannelClientWrapper.h 35 #include "modules/websockets/WebSocketChannel.h"
71 WebSocketChannel::SendResult sendRequestResult() const;
72 void setSendRequestResult(WebSocketChannel::SendResult);
112 WebSocketChannel::SendResult m_sendRequestResult;
WorkerThreadableWebSocketChannel.h 36 #include "modules/websockets/WebSocketChannel.h"
57 class WorkerThreadableWebSocketChannel : public RefCounted<WorkerThreadableWebSocketChannel>, public WebSocketChannel {
60 static PassRefPtr<WebSocketChannel> create(WorkerGlobalScope* workerGlobalScope, WebSocketChannelClient* client, const String& taskMode, const String& sourceURL, unsigned lineNumber)
66 // WebSocketChannel functions.
70 virtual WebSocketChannel::SendResult send(const String& message) OVERRIDE;
71 virtual WebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE;
72 virtual WebSocketChannel::SendResult send(PassRefPtr<BlobDataHandle>) OVERRIDE;
118 RefPtr<WebSocketChannel> m_mainWebSocketChannel;
126 // WebSocketChannel functions.
143 WebSocketChannel::SendResult send(const String& message)
    [all...]
WebSocketChannel.cpp 33 #include "modules/websockets/WebSocketChannel.h"
52 PassRefPtr<WebSocketChannel> WebSocketChannel::create(ExecutionContext* context, WebSocketChannelClient* client)
76 // FIXME: Create and return an "experimental" WebSocketChannel instead of a MainThreadWebSocketChannel.
MainThreadWebSocketChannel.h 37 #include "modules/websockets/WebSocketChannel.h"
60 class MainThreadWebSocketChannel : public RefCounted<MainThreadWebSocketChannel>, public SocketStreamHandleClient, public WebSocketChannel, public FileReaderLoaderClient {
72 // WebSocketChannel functions.
76 virtual WebSocketChannel::SendResult send(const String& message) OVERRIDE;
77 virtual WebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE;
78 virtual WebSocketChannel::SendResult send(PassRefPtr<BlobDataHandle>) OVERRIDE;
84 using WebSocketChannel::fail;
108 // WebSocketChannel functions.
NewWebSocketChannelImpl.h 38 #include "modules/websockets/WebSocketChannel.h"
65 class NewWebSocketChannelImpl : public WebSocketChannel, public RefCounted<NewWebSocketChannelImpl>, public blink::WebSocketHandleClient, public ContextLifecycleObserver {
78 // WebSocketChannel functions.
82 virtual WebSocketChannel::SendResult send(const String& message) OVERRIDE;
83 virtual WebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE;
84 virtual WebSocketChannel::SendResult send(PassRefPtr<BlobDataHandle>) OVERRIDE;
90 using WebSocketChannel::fail;
144 // WebSocketChannel functions.
WorkerThreadableWebSocketChannel.cpp 87 WebSocketChannel::SendResult WorkerThreadableWebSocketChannel::send(const String& message)
90 return WebSocketChannel::SendFail;
94 WebSocketChannel::SendResult WorkerThreadableWebSocketChannel::send(const ArrayBuffer& binaryData, unsigned byteOffset, unsigned byteLength)
97 return WebSocketChannel::SendFail;
101 WebSocketChannel::SendResult WorkerThreadableWebSocketChannel::send(PassRefPtr<BlobDataHandle> blobData)
104 return WebSocketChannel::SendFail;
171 // FIXME: Create an "experimental" WebSocketChannel instead of a MainThreadWebSocketChannel.
193 static void workerGlobalScopeDidSend(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, WebSocketChannel::SendResult sendRequestResult)
204 WebSocketChannel::SendResult sendRequestResult = m_mainWebSocketChannel->send(message);
213 WebSocketChannel::SendResult sendRequestResult = m_mainWebSocketChannel->send(binaryData, 0, binaryData.byteLength( (…)
    [all...]
WebSocket.cpp 322 m_channel = WebSocketChannel::create(executionContext(), this);
354 void WebSocket::handleSendResult(WebSocketChannel::SendResult result, ExceptionState& exceptionState)
357 case WebSocketChannel::InvalidMessage:
360 case WebSocketChannel::SendFail:
363 case WebSocketChannel::SendSuccess:
449 closeInternal(WebSocketChannel::CloseEventCodeNotSpecified, String(), exceptionState);
459 if (code == WebSocketChannel::CloseEventCodeNotSpecified) {
463 if (!(code == WebSocketChannel::CloseEventCodeNormalClosure || (WebSocketChannel::CloseEventCodeMinimumUserDefined <= code && code <= WebSocketChannel::CloseEventCodeMaximumUserDefined)))
    [all...]
WebSocket.h 39 #include "modules/websockets/WebSocketChannel.h"
175 // Checks the result of WebSocketChannel::send() method, and shows console
177 void handleSendResult(WebSocketChannel::SendResult, ExceptionState&);
188 RefPtr<WebSocketChannel> m_channel;
ThreadableWebSocketChannelClientWrapper.cpp 47 , m_sendRequestResult(WebSocketChannel::SendFail)
125 WebSocketChannel::SendResult ThreadableWebSocketChannelClientWrapper::sendRequestResult() const
130 void ThreadableWebSocketChannelClientWrapper::setSendRequestResult(WebSocketChannel::SendResult sendRequestResult)
MainThreadWebSocketChannel.cpp 128 WebSocketChannel::SendResult MainThreadWebSocketChannel::send(const String& message)
137 return WebSocketChannel::SendSuccess;
140 WebSocketChannel::SendResult MainThreadWebSocketChannel::send(const ArrayBuffer& binaryData, unsigned byteOffset, unsigned byteLength)
145 return WebSocketChannel::SendSuccess;
148 WebSocketChannel::SendResult MainThreadWebSocketChannel::send(PassRefPtr<BlobDataHandle> binaryData)
153 return WebSocketChannel::SendSuccess;
343 RefPtr<WebSocketChannel> protect(this);
    [all...]
NewWebSocketChannelImpl.cpp 156 WebSocketChannel::SendResult NewWebSocketChannelImpl::send(const String& message)
171 WebSocketChannel::SendResult NewWebSocketChannelImpl::send(PassRefPtr<BlobDataHandle> blobDataHandle)
188 WebSocketChannel::SendResult NewWebSocketChannelImpl::send(const ArrayBuffer& buffer, unsigned byteOffset, unsigned byteLength)
  /external/chromium_org/net/websockets/
websocket_channel.cc 78 class WebSocketChannel::SendBuffer {
98 void WebSocketChannel::SendBuffer::AddFrame(scoped_ptr<WebSocketFrame> frame) {
104 // calls on to the WebSocketChannel that created it.
105 class WebSocketChannel::ConnectDelegate
108 explicit ConnectDelegate(WebSocketChannel* creator) : creator_(creator) {}
121 // A pointer to the WebSocketChannel that created this object. There is no
122 // danger of this pointer being stale, because deleting the WebSocketChannel
125 WebSocketChannel* const creator_;
130 WebSocketChannel::WebSocketChannel(
    [all...]
websocket_channel.h 35 class NET_EXPORT WebSocketChannel {
47 // Creates a new WebSocketChannel in an idle state.
50 WebSocketChannel(scoped_ptr<WebSocketEventInterface> event_interface,
52 virtual ~WebSocketChannel();
82 // handshake, but destroying the WebSocketChannel object while connected will
136 // WebSocketChannel. WebSocketChannel does not inherit from
139 // lifetime of a WebSocketChannel is longer than the lifetime of the
275 base::OneShotTimer<WebSocketChannel> timer_;
290 DISALLOW_COPY_AND_ASSIGN(WebSocketChannel);
    [all...]
websocket_channel_test.cc 689 // Creates a new WebSocketChannel and connects it, using the settings stored
692 channel_.reset(new WebSocketChannel(CreateEventInterface(),
709 // Returns a WebSocketEventInterface to be passed to the WebSocketChannel.
751 scoped_ptr<WebSocketChannel> channel_;
794 // A FakeWebSocketEventInterface that deletes the WebSocketChannel on failure to
    [all...]
  /external/chromium_org/content/browser/renderer_host/
websocket_host.h 18 class WebSocketChannel;
30 // Host of net::WebSocketChannel. The lifetime of an instance of this class is
61 scoped_ptr<net::WebSocketChannel> channel_;
websocket_host.cc 73 // WebSocketChannel object. Each event is translated to an IPC and sent to the
163 new net::WebSocketChannel(event_interface.Pass(), url_request_context));
  /external/chromium_org/third_party/WebKit/public/web/
WebSocket.h 37 namespace WebCore { class WebSocketChannel; }
  /external/chromium_org/third_party/WebKit/Source/web/
WebSocketImpl.cpp 39 #include "modules/websockets/WebSocketChannel.h"
56 // FIXME: Create an "experimental" WebSocketChannel instead of a MainThreadWebSocketChannel.
97 return m_private->send(message) == WebSocketChannel::SendSuccess;
102 return m_private->send(*PassRefPtr<ArrayBuffer>(webArrayBuffer), 0, webArrayBuffer.byteLength()) == WebSocketChannel::SendSuccess;
  /external/chromium_org/third_party/WebKit/Source/modules/
modules.target.darwin-arm.mk 287 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.darwin-mips.mk 287 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.darwin-x86.mk 287 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.linux-arm.mk 287 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.linux-mips.mk 287 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.linux-x86.mk 287 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \

Completed in 267 milliseconds