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

Unified Diff: content/browser/renderer_host/websocket_dispatcher_host.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/browser/renderer_host/websocket_dispatcher_host.h
diff --git a/content/browser/renderer_host/websocket_dispatcher_host.h b/content/browser/renderer_host/websocket_dispatcher_host.h
index f99148624fb83f105da3792824391ba7e09d59f3..1d1ab03306890c201b0dc9edf13f81e4d02a1bcd 100644
--- a/content/browser/renderer_host/websocket_dispatcher_host.h
+++ b/content/browser/renderer_host/websocket_dispatcher_host.h
@@ -71,7 +71,10 @@ class CONTENT_EXPORT WebSocketDispatcherHost : public BrowserMessageFilter {
void SendClosing(int routing_id);
// Sends a WebSocketMsg_DropChannel IPC and delete and unregister the channel.
- void DoDropChannel(int routing_id, uint16 code, const std::string& reason);
+ void DoDropChannel(int routing_id,
+ bool fail,
+ uint16 code,
+ const std::string& reason);
private:
typedef base::hash_map<int, WebSocketHost*> WebSocketHostTable;

Powered by Google App Engine
This is Rietveld 408576698