Chromium Code Reviews| Index: content/browser/renderer_host/socket_stream_host.h |
| diff --git a/content/browser/renderer_host/socket_stream_host.h b/content/browser/renderer_host/socket_stream_host.h |
| index 6b08d91edab0f58725231b8f28398942b35f4460..1e87a7f88a627731ad6e2a5b688a79cf524b81d0 100644 |
| --- a/content/browser/renderer_host/socket_stream_host.h |
| +++ b/content/browser/renderer_host/socket_stream_host.h |
| @@ -28,12 +28,15 @@ class URLRequestContext; |
| // SocketStreamDispatcherHost. |
| class SocketStreamHost { |
| public: |
| - SocketStreamHost(net::SocketStream::Delegate* delegate, int socket_id); |
| + SocketStreamHost(net::SocketStream::Delegate* delegate, |
| + int routing_id, |
|
wtc
2012/03/19 23:21:03
Why don't you call this render_view_id? Is it bec
Takashi Toyoshima
2012/03/20 00:18:03
No. render_view_id is the only one as routing_id h
|
| + int socket_id); |
| ~SocketStreamHost(); |
| // Gets socket_id associated with |socket|. |
| static int SocketIdFromSocketStream(net::SocketStream* socket); |
| + int routing_id() const { return routing_id_; } |
| int socket_id() const { return socket_id_; } |
| // Starts to open connection to |url|. |
| @@ -51,6 +54,7 @@ class SocketStreamHost { |
| private: |
| net::SocketStream::Delegate* delegate_; |
| + int routing_id_; |
| int socket_id_; |
| scoped_refptr<net::SocketStreamJob> socket_; |