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

Unified Diff: content/child/websocket_bridge.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/child/websocket_bridge.h
diff --git a/content/child/websocket_bridge.h b/content/child/websocket_bridge.h
index 4834c401f23d8cb83fd5a2872615f5ef1af6c0c1..e561e418e9d5c15db105113a61d7223d404e6a67 100644
--- a/content/child/websocket_bridge.h
+++ b/content/child/websocket_bridge.h
@@ -51,7 +51,7 @@ class WebSocketBridge : public WebKit::WebSocketHandle {
WebSocketMessageType type,
const std::vector<char>& data);
void DidReceiveFlowControl(int64_t quota);
- void DidClose(unsigned short code, const std::string& reason);
+ void DidClose(bool fail, unsigned short code, const std::string& reason);
int channel_id_;
WebKit::WebSocketHandleClient* client_;

Powered by Google App Engine
This is Rietveld 408576698