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

Unified Diff: net/base/net_error_list.h

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 | « no previous file | net/websockets/websocket_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 8bb47cbb53e715e9e51c5af731b43c03752f8c94..617a56d41f754f36aef1b77d488015829b969b57 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -382,9 +382,9 @@ NET_ERROR(CT_CONSISTENCY_PROOF_PARSING_FAILED, -171)
// fallback will be removed.
NET_ERROR(SSL_OBSOLETE_CIPHER, -172)
-// When a WebSocket handshake is done successfully, the URLRequest is cancelled
-// with this error code.
-NET_ERROR(WEBSOCKET_HANDSHAKE_SUCCESS, -173)
+// When a WebSocket handshake is done successfully and the connection has been
+// upgraded, the URLRequest is cancelled with this error code.
+NET_ERROR(WS_UPGRADE, -173)
// Certificate error codes
//
« no previous file with comments | « no previous file | net/websockets/websocket_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698