Index: content/browser/renderer_host/websocket_dispatcher_host.h |
diff --git a/content/browser/renderer_host/websocket_dispatcher_host.h b/content/browser/renderer_host/websocket_dispatcher_host.h |
index 638178ee9b368ea364ab902194f327c0d105b8f0..0ce6012b9c541f73122ef909123235d2d71489d1 100644 |
--- a/content/browser/renderer_host/websocket_dispatcher_host.h |
+++ b/content/browser/renderer_host/websocket_dispatcher_host.h |
@@ -94,6 +94,12 @@ class CONTENT_EXPORT WebSocketDispatcherHost : public BrowserMessageFilter { |
int routing_id, |
const WebSocketHandshakeResponse& response) WARN_UNUSED_RESULT; |
+ // Sends a WebSocketMsg_NotifyFailure IPC and deletes and unregisters the |
+ // channel. |
+ WebSocketHostState NotifyFailure( |
+ int routing_id, |
+ const std::string& message) WARN_UNUSED_RESULT; |
+ |
// Sends a WebSocketMsg_DropChannel IPC and deletes and unregisters the |
// channel. |
WebSocketHostState DoDropChannel( |