Home | History | Annotate | Download | only in websockets

Lines Matching defs:error

206 void WebSocket::OnError(const SocketStream* socket_stream, int error) {
208 FROM_HERE, NewRunnableMethod(this, &WebSocket::DoSocketError, error));
309 // Let /error/ be false.
310 bool error = false;
354 // 4.2 3-8 Otherwise, let /error/ be true.
355 error = true;
370 // Otherwise, discard the data and let /error/ to be true.
371 error = true;
377 // If /error/ is true, then *a WebSocket error has been detected.*
378 if (error && delegate_)
478 void WebSocket::DoSocketError(int error) {
481 delegate_->OnSocketError(this, error);