Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Unified Diff: net/websockets/websocket_stream.cc

Issue 2639933005: Rename WS handshake success error code; update enums. (Closed)
Patch Set: Fix build. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/net_error_list.h ('k') | net/websockets/websocket_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_stream.cc
diff --git a/net/websockets/websocket_stream.cc b/net/websockets/websocket_stream.cc
index ca73a53a431c03ef69dd6c2a84147dad439c55b2..b700519a3c3b898734c7c94b617c3908f1594e37 100644
--- a/net/websockets/websocket_stream.cc
+++ b/net/websockets/websocket_stream.cc
@@ -154,7 +154,7 @@ class WebSocketStreamRequestImpl : public WebSocketStreamRequest {
connect_delegate_->OnSuccess(handshake_stream->Upgrade());
// This is safe even if |this| has already been deleted.
- url_request->CancelWithError(ERR_WEBSOCKET_HANDSHAKE_SUCCESS);
+ url_request->CancelWithError(ERR_WS_UPGRADE);
}
std::string FailureMessageFromNetError(int net_error) {
« no previous file with comments | « net/base/net_error_list.h ('k') | net/websockets/websocket_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698