Lines Matching refs:socket_stream_
26 socket_stream_(NULL), in WebSocket()
43 DCHECK(!socket_stream_); in ~WebSocket()
51 DCHECK(!socket_stream_); in Connect()
54 socket_stream_ = new SocketStream(request_->url(), this); in Connect()
55 socket_stream_->set_context(request_->context()); in Connect()
58 socket_stream_->SetHostResolver(request_->host_resolver()); in Connect()
60 socket_stream_->SetClientSocketFactory(request_->client_socket_factory()); in Connect()
64 socket_stream_->Connect(); in Connect()
92 DCHECK(!socket_stream_); in Close()
102 DCHECK(socket_stream_); in Close()
103 socket_stream_->Close(); in Close()
135 DCHECK(!socket_stream_); in DetachDelegate()
140 DCHECK(socket_stream_); in DetachDelegate()
141 socket_stream_->Close(); in DetachDelegate()
147 DCHECK(socket_stream == socket_stream_); in OnConnected()
181 DCHECK(socket_stream == socket_stream_); in OnSentData()
195 DCHECK(socket_stream == socket_stream_); in OnReceivedData()
213 if (!socket_stream_) { in SendPending()
227 socket_stream_->Close(); in SendPending()
243 bool sent = socket_stream_->SendData( in SendPending()
270 socket_stream_->Close(); in DoReceivedData()
319 socket_stream_->Close(); in ProcessFrameData()
350 socket_stream_->Close(); in ProcessFrameData()
453 if (!socket_stream_) in FailConnection()
455 socket_stream_->Close(); in FailConnection()
469 if (!socket_stream_) in DoClose()
471 socket_stream_ = NULL; in DoClose()