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 b95b580b4d2f23056d0373fcb5463c4235109f53..4179b71b2e2a9523a89e2a421e36e5383f209d35 100644 |
--- a/content/browser/renderer_host/websocket_dispatcher_host.h |
+++ b/content/browser/renderer_host/websocket_dispatcher_host.h |
@@ -111,6 +111,8 @@ class CONTENT_EXPORT WebSocketDispatcherHost : public BrowserMessageFilter { |
// Returns whether the associated renderer process can read raw cookies. |
bool CanReadRawCookies() const; |
+ int render_process_id() const { return process_id_; } |
+ |
private: |
typedef base::hash_map<int, WebSocketHost*> WebSocketHostTable; |