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

Unified Diff: third_party/WebKit/Source/modules/websockets/WebSocketHandleImpl.h

Issue 2343433002: WebSocket Mojo API: set reason when disconnecting a WebSocket interface because of insufficient res… (Closed)
Patch Set: . Created 4 years, 3 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: third_party/WebKit/Source/modules/websockets/WebSocketHandleImpl.h
diff --git a/third_party/WebKit/Source/modules/websockets/WebSocketHandleImpl.h b/third_party/WebKit/Source/modules/websockets/WebSocketHandleImpl.h
index daeb92aa510b9bc7e609866c85a055f9c9986abe..e1eac9c95c7a9aeddaf516fab0d4b50b2881f9d4 100644
--- a/third_party/WebKit/Source/modules/websockets/WebSocketHandleImpl.h
+++ b/third_party/WebKit/Source/modules/websockets/WebSocketHandleImpl.h
@@ -50,7 +50,7 @@ public:
private:
void disconnect();
- void onConnectionError();
+ void onConnectionError(uint32_t customReason, const std::string& description);
// mojom::blink::WebSocketClient methods:
void OnFailChannel(const String& reason) override;
« no previous file with comments | « content/browser/websockets/websocket_manager.cc ('k') | third_party/WebKit/Source/modules/websockets/WebSocketHandleImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698