HomeSort by relevance Sort by last modified time
    Searched refs:WebSocketChannel (Results 1 - 21 of 21) 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(ScriptExecutionContext*, WebSocketChannelClient*);
110 virtual ~WebSocketChannel() { }
WebSocketChannel.cpp 33 #include "modules/websockets/WebSocketChannel.h"
52 PassRefPtr<WebSocketChannel> WebSocketChannel::create(ScriptExecutionContext* context, WebSocketChannelClient* client)
68 // FIXME: Create and return an "experimental" WebSocketChannel instead of a MainThreadWebSocketChannel.
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"
56 class WorkerThreadableWebSocketChannel : public RefCounted<WorkerThreadableWebSocketChannel>, public WebSocketChannel {
59 static PassRefPtr<WebSocketChannel> create(WorkerGlobalScope* workerGlobalScope, WebSocketChannelClient* client, const String& taskMode)
65 // WebSocketChannel functions.
69 virtual WebSocketChannel::SendResult send(const String& message) OVERRIDE;
70 virtual WebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE;
71 virtual WebSocketChannel::SendResult send(const Blob&) OVERRIDE;
117 RefPtr<WebSocketChannel> m_mainWebSocketChannel;
125 // WebSocketChannel functions.
142 WebSocketChannel::SendResult send(const String& message)
    [all...]
MainThreadWebSocketChannel.h 39 #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(const Blob&) OVERRIDE;
84 using WebSocketChannel::fail;
108 // WebSocketChannel functions.
WorkerThreadableWebSocketChannel.cpp 49 #include "modules/websockets/WebSocketChannel.h"
104 WebSocketChannel::SendResult WorkerThreadableWebSocketChannel::send(const String& message)
107 return WebSocketChannel::SendFail;
111 WebSocketChannel::SendResult WorkerThreadableWebSocketChannel::send(const ArrayBuffer& binaryData, unsigned byteOffset, unsigned byteLength)
114 return WebSocketChannel::SendFail;
118 WebSocketChannel::SendResult WorkerThreadableWebSocketChannel::send(const Blob& binaryData)
121 return WebSocketChannel::SendFail;
188 // FIXME: Create an "experimental" WebSocketChannel instead of a MainThreadWebSocketChannel.
210 static void workerGlobalScopeDidSend(ScriptExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, WebSocketChannel::SendResult sendRequestResult)
221 WebSocketChannel::SendResult sendRequestResult = m_mainWebSocketChannel->send(message)
    [all...]
WebSocket.h 39 #include "modules/websockets/WebSocketChannel.h"
139 // Checks the result of WebSocketChannel::send() method, and shows console
141 void handleSendResult(WebSocketChannel::SendResult, ExceptionState&);
152 RefPtr<WebSocketChannel> m_channel;
WebSocket.cpp 53 #include "modules/websockets/WebSocketChannel.h"
246 m_channel = WebSocketChannel::create(scriptExecutionContext(), this);
281 void WebSocket::handleSendResult(WebSocketChannel::SendResult result, ExceptionState& es)
284 case WebSocketChannel::InvalidMessage:
288 case WebSocketChannel::SendFail:
291 case WebSocketChannel::SendSuccess:
377 closeInternal(WebSocketChannel::CloseEventCodeNotSpecified, String(), es);
387 if (code == WebSocketChannel::CloseEventCodeNotSpecified)
391 if (!(code == WebSocketChannel::CloseEventCodeNormalClosure || (WebSocketChannel::CloseEventCodeMinimumUserDefined <= code && code <= WebSocketChannel::CloseEventCodeMaximumUserDe (…)
    [all...]
ThreadableWebSocketChannelClientWrapper.cpp 37 #include "modules/websockets/WebSocketChannel.h"
50 , m_sendRequestResult(WebSocketChannel::SendFail)
128 WebSocketChannel::SendResult ThreadableWebSocketChannelClientWrapper::sendRequestResult() const
133 void ThreadableWebSocketChannelClientWrapper::setSendRequestResult(WebSocketChannel::SendResult sendRequestResult)
MainThreadWebSocketChannel.cpp 53 #include "modules/websockets/WebSocketChannel.h"
143 WebSocketChannel::SendResult MainThreadWebSocketChannel::send(const String& message)
152 return WebSocketChannel::SendSuccess;
155 WebSocketChannel::SendResult MainThreadWebSocketChannel::send(const ArrayBuffer& binaryData, unsigned byteOffset, unsigned byteLength)
160 return WebSocketChannel::SendSuccess;
163 WebSocketChannel::SendResult MainThreadWebSocketChannel::send(const Blob& binaryData)
168 return WebSocketChannel::SendSuccess;
348 RefPtr<WebSocketChannel> protect(this);
    [all...]
  /external/chromium_org/net/websockets/
websocket_channel.cc 51 class WebSocketChannel::SendBuffer {
71 void WebSocketChannel::SendBuffer::AddFrame(
78 // calls on to the WebSocketChannel that created it.
79 class WebSocketChannel::ConnectDelegate
82 explicit ConnectDelegate(WebSocketChannel* creator) : creator_(creator) {}
93 // A pointer to the WebSocketChannel that created us. We do not need to worry
94 // about this pointer being stale, because deleting WebSocketChannel cancels
97 WebSocketChannel* const creator_;
102 WebSocketChannel::WebSocketChannel(
    [all...]
websocket_channel.h 30 class NET_EXPORT WebSocketChannel {
42 // Creates a new WebSocketChannel with the specified parameters.
45 WebSocketChannel(const GURL& socket_url,
47 virtual ~WebSocketChannel();
77 // handshake, but destroying the WebSocketChannel object while connected will
123 // lifetime of a WebSocketChannel is longer than the lifetime of the
262 DISALLOW_COPY_AND_ASSIGN(WebSocketChannel);
websocket_channel_test.cc 693 // Creates a new WebSocketChannel and connects it, using the settings stored
697 new WebSocketChannel(connect_data_.url, CreateEventInterface()));
713 // Returns a WebSocketEventInterface to be passed to the WebSocketChannel.
747 scoped_ptr<WebSocketChannel> channel_;
763 // A FakeWebSocketEventInterface that deletes the WebSocketChannel on failure to
844 // safely synchronously delete the WebSocketChannel. This test will only
    [all...]
  /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 40 #include "modules/websockets/WebSocketChannel.h"
58 // FIXME: Create an "experimental" WebSocketChannel instead of a MainThreadWebSocketChannel.
99 return m_private->send(message) == WebSocketChannel::SendSuccess;
104 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 263 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.darwin-mips.mk 263 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.darwin-x86.mk 263 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.linux-arm.mk 263 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.linux-mips.mk 263 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \
modules.target.linux-x86.mk 263 third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp \

Completed in 145 milliseconds