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

Unified Diff: content/child/websocket_dispatcher.h

Issue 2000113002: Delegate WebSocket message handlers to the loading task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address on yhirano's review Created 4 years, 7 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_dispatcher.h
diff --git a/content/child/websocket_dispatcher.h b/content/child/websocket_dispatcher.h
index e40053de41ca0a7e328185e93e110a4a8be932ba..010da39a8edbecd4fc85eb619f5b3c1a14d0179e 100644
--- a/content/child/websocket_dispatcher.h
+++ b/content/child/websocket_dispatcher.h
@@ -27,6 +27,8 @@ class WebSocketDispatcher : public IPC::Listener {
WebSocketDispatcher();
~WebSocketDispatcher() override;
+ static bool CanHandleMessage(const IPC::Message& msg);
+
// Returns a unique channel id
int AddBridge(WebSocketBridge* bridge);
void RemoveBridge(int channel_id);

Powered by Google App Engine
This is Rietveld 408576698