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

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
« no previous file with comments | « content/browser/renderer_host/websocket_host.cc ('k') | content/child/websocket_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/websocket_bridge.h
diff --git a/content/child/websocket_bridge.h b/content/child/websocket_bridge.h
index 4834c401f23d8cb83fd5a2872615f5ef1af6c0c1..9f9264742d9fe21ac77b4eafb805bfad691df5f2 100644
--- a/content/child/websocket_bridge.h
+++ b/content/child/websocket_bridge.h
@@ -47,11 +47,12 @@ class WebSocketBridge : public WebKit::WebSocketHandle {
void DidConnect(bool fail,
const std::string& selected_protocol,
const std::string& extensions);
+ void DidFail(const std::string& message);
void DidReceiveData(bool fin,
WebSocketMessageType type,
const std::vector<char>& data);
void DidReceiveFlowControl(int64_t quota);
- void DidClose(unsigned short code, const std::string& reason);
+ void DidClose(bool was_clean, unsigned short code, const std::string& reason);
int channel_id_;
WebKit::WebSocketHandleClient* client_;
« no previous file with comments | « content/browser/renderer_host/websocket_host.cc ('k') | content/child/websocket_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698