Home | History | Annotate | Download | only in socket_stream

Lines Matching defs:SocketStream

41 // SocketStream is used to implement Web Sockets.
47 class SocketStream : public base::RefCountedThreadSafe<SocketStream> {
50 // information with a SocketStream. Use GetUserData(key) and
62 virtual int OnStartOpenConnection(SocketStream* socket,
71 virtual void OnConnected(SocketStream* socket,
75 virtual void OnSentData(SocketStream* socket,
79 virtual void OnReceivedData(SocketStream* socket,
83 virtual void OnClose(SocketStream* socket) = 0;
88 virtual void OnAuthRequired(SocketStream* socket,
97 virtual void OnError(const SocketStream* socket, int error) {}
100 SocketStream(const GURL& url, Delegate* delegate);
153 friend class base::RefCountedThreadSafe<SocketStream>;
154 virtual ~SocketStream();
307 CompletionCallbackImpl<SocketStream> io_callback_;
308 CompletionCallbackImpl<SocketStream> read_callback_;
309 CompletionCallbackImpl<SocketStream> write_callback_;
331 DISALLOW_COPY_AND_ASSIGN(SocketStream);