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

Unified Diff: content/common/websocket_messages.h

Issue 34753008: Notify WebSocket connection failure, chromium side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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
Index: content/common/websocket_messages.h
diff --git a/content/common/websocket_messages.h b/content/common/websocket_messages.h
index 5a9304f8a700888fcfc2b5c7b72fdf566ac5341e..0450b9c475c16b8e2df8ec463ab45abb584ed2e2 100644
--- a/content/common/websocket_messages.h
+++ b/content/common/websocket_messages.h
@@ -100,6 +100,8 @@ IPC_MESSAGE_ROUTED1(WebSocketMsg_FlowControl,
// UTF-8 encoded string which may be useful for debugging but is not necessarily
// human-readable, as supplied by the server in the Close or DropChannel
// message.
-IPC_MESSAGE_ROUTED2(WebSocketMsg_DropChannel,
+// |fail| is true when the user agent is required to fail the connection.
Adam Rice 2013/10/23 03:18:06 I think this comment needs more explanation. How a
yhirano 2013/10/23 05:42:23 Thanks, done.
+IPC_MESSAGE_ROUTED3(WebSocketMsg_DropChannel,
+ bool /* fail */,
unsigned short /* code */,
std::string /* reason */)

Powered by Google App Engine
This is Rietveld 408576698