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

Unified Diff: content/browser/renderer_host/websocket_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_host.h
diff --git a/content/browser/renderer_host/websocket_host.h b/content/browser/renderer_host/websocket_host.h
index 06f82f710386c624ccaa518f17d22b1597bf21e6..4cbb47aa83694d85ba402586b49d838cfa7da5a4 100644
--- a/content/browser/renderer_host/websocket_host.h
+++ b/content/browser/renderer_host/websocket_host.h
@@ -55,7 +55,7 @@ class CONTENT_EXPORT WebSocketHost {
void OnFlowControl(int64 quota);
- void OnDropChannel(uint16 code, const std::string& reason);
+ void OnDropChannel(bool fail, uint16 code, const std::string& reason);
// The channel we use to send events to the network.
scoped_ptr<net::WebSocketChannel> channel_;

Powered by Google App Engine
This is Rietveld 408576698