summaryrefslogtreecommitdiffstats
path: root/content/common/socket_stream_messages.h
diff options
context:
space:
mode:
authortoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 15:39:34 +0000
committertoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 15:39:34 +0000
commit5fa3a0695ffbad35741ce258dc20408485ca0911 (patch)
tree2efeeb5003c3f01e21d4b473e5af86793b3d1b8e /content/common/socket_stream_messages.h
parente2df9ef5dd3040914e09450d5b7f32983fd14ada (diff)
downloadchromium_src-5fa3a0695ffbad35741ce258dc20408485ca0911.zip
chromium_src-5fa3a0695ffbad35741ce258dc20408485ca0911.tar.gz
chromium_src-5fa3a0695ffbad35741ce258dc20408485ca0911.tar.bz2
Bind RenderViewImpl routing_id to SocketStreamHost
- Set RenderViewImpl's routing_id to WebSocketStresmHandleImpl via dispatchWillOpenSocketStream() - Send the id from WebSocketStreamHandleImpl to SocketStreamHost via IPC SocketStreamHostMsg_Connect This change aim that SocketStreamDispatcher uses SSLManager with routing_id to handle SSL errors. BUG=53836 TEST=none Review URL: http://codereview.chromium.org/9677031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/socket_stream_messages.h')
-rw-r--r--content/common/socket_stream_messages.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/common/socket_stream_messages.h b/content/common/socket_stream_messages.h
index bb599c4..020796d 100644
--- a/content/common/socket_stream_messages.h
+++ b/content/common/socket_stream_messages.h
@@ -21,7 +21,10 @@
// The browser starts connecting asynchronously.
// Once Socket Stream connection is established, the browser will send
// SocketStreamMsg_Connected back.
-IPC_MESSAGE_CONTROL2(SocketStreamHostMsg_Connect,
+// |render_view_id| must be the routing id of RenderViewImpl to which the
+// Socket Stream belongs.
+IPC_MESSAGE_CONTROL3(SocketStreamHostMsg_Connect,
+ int /* render_view_id */,
GURL /* socket_url */,
int /* socket_id */)