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

  /external/chromium_org/net/websockets/
websocket_stream.cc 13 WebSocketStream::WebSocketStream() {}
14 WebSocketStream::~WebSocketStream() {}
16 WebSocketStream::ConnectDelegate::~ConnectDelegate() {}
19 scoped_ptr<WebSocketStreamRequest> WebSocketStream::CreateAndConnectStream(
30 WebSocketStream* WebSocketStream::AsWebSocketStream() { return this; }
websocket_stream_base.h 18 class WebSocketStream;
20 // WebSocketStreamBase is the base class of WebSocketStream.
21 // net/http code uses this interface to handle WebSocketStream.
43 // Return this object as a WebSocketStream.
44 virtual WebSocketStream* AsWebSocketStream() = 0;
websocket_stream.h 30 // WebSocketStream. Deleting the object before the OnSuccess or OnFailure
39 // WebSocketStream is a transport-agnostic interface for reading and writing
44 // WebSocketStream are responsible for managing the underlying transport
52 class NET_EXPORT_PRIVATE WebSocketStream : public WebSocketStreamBase {
60 // WebSocketStream.
61 virtual void OnSuccess(scoped_ptr<WebSocketStream> stream) = 0;
69 // Create and connect a WebSocketStream of an appropriate type. The actual
73 // WebSocketStream instance. If it failed, then connect_delegate->OnFailure()
91 virtual ~WebSocketStream();
159 // WebSocketStream implements. The primary purpose of this accessor is to mak
    [all...]
websocket_channel.h 32 // The type of a WebSocketStream factory callback. Must match the signature of
33 // WebSocketStream::CreateAndConnectStream().
40 scoped_ptr<WebSocketStream::ConnectDelegate>)> WebSocketStreamFactory;
120 // Our implementation of WebSocketStream::ConnectDelegate. We do not inherit
121 // from WebSocketStream::ConnectDelegate directly to avoid cluttering our
134 // Success callback from WebSocketStream::CreateAndConnectStream(). Reports
136 void OnConnectSuccess(scoped_ptr<WebSocketStream> stream);
138 // Failure callback from WebSocketStream::CreateAndConnectStream(). Reports
145 // Calls WebSocketStream::WriteFrames() with the appropriate arguments
148 // Callback from WebSocketStream::WriteFrames. Sends pending data or adjust
    [all...]
websocket_channel.cc 77 // Implementation of WebSocketStream::ConnectDelegate that simply forwards the
80 : public WebSocketStream::ConnectDelegate {
84 virtual void OnSuccess(scoped_ptr<WebSocketStream> stream) OVERRIDE {
128 base::Bind(&WebSocketStream::CreateAndConnectStream));
186 // TODO(ricea): Add interface to WebSocketStream and implement.
221 scoped_ptr<WebSocketStream::ConnectDelegate> connect_delegate(
232 void WebSocketChannel::OnConnectSuccess(scoped_ptr<WebSocketStream> stream) {
239 // TODO(ricea): Get flow control information from the WebSocketStream once we
240 // have a multiplexing WebSocketStream.
259 // This use of base::Unretained is safe because we own the WebSocketStream
    [all...]
websocket_channel_test.cc 147 // This fake WebSocketStream is for tests that require a WebSocketStream but are
150 class FakeWebSocketStream : public WebSocketStream {
546 // Users of WebSocketStream will not expect the ReadFrames() callback to be
636 class MockWebSocketStream : public WebSocketStream {
647 MOCK_METHOD0(AsWebSocketStream, WebSocketStream*());
663 scoped_ptr<WebSocketStream::ConnectDelegate> connect_delegate) {
678 scoped_ptr<WebSocketStream::ConnectDelegate> connect_delegate;
721 // assigning to stream_. class T must be a subclass of WebSocketStream or you
728 stream_ = stream.template PassAs<WebSocketStream>();
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
client_for_testing.py 747 class WebSocketStream(object):
    [all...]
mux_client_for_testing.py 517 self._stream = client_for_testing.WebSocketStream(
  /external/chromium_org/net/http/
http_stream_factory_impl_unittest.cc 71 virtual WebSocketStream* AsWebSocketStream() OVERRIDE { return NULL; }
    [all...]

Completed in 216 milliseconds