Chromium Code Reviews| Index: content/browser/renderer_host/websocket_host.h |
| diff --git a/content/browser/renderer_host/websocket_host.h b/content/browser/renderer_host/websocket_host.h |
| index 21c77dcbbd558fe56d77ca147f3e60f208875779..4c68c3dd97c5114d36d18cec072d642c1552539a 100644 |
| --- a/content/browser/renderer_host/websocket_host.h |
| +++ b/content/browser/renderer_host/websocket_host.h |
| @@ -40,10 +40,16 @@ class CONTENT_EXPORT WebSocketHost { |
| net::URLRequestContext* url_request_context); |
| virtual ~WebSocketHost(); |
| + // The renderer process goes away. |
|
Adam Rice
2014/07/14 05:41:50
s/goes away/is going away/
yhirano
2014/07/14 09:27:20
Done.
|
| + // This function is virtual for testing. |
| + virtual void GoAway(); |
| + |
| // General message dispatch. WebSocketDispatcherHost::OnMessageReceived |
| // delegates to this method after looking up the |routing_id|. |
| virtual bool OnMessageReceived(const IPC::Message& message); |
| + int routing_id() const { return routing_id_; } |
| + |
| private: |
| // Handlers for each message type, dispatched by OnMessageReceived(), as |
| // defined in content/common/websocket_messages.h |