Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1479)

Unified Diff: content/common/websocket_messages.h

Issue 2003253002: [Devtools] Allow User-Agent header override for Websockets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/websocket_bridge.cc ('k') | net/websockets/websocket_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/websocket_messages.h
diff --git a/content/common/websocket_messages.h b/content/common/websocket_messages.h
index 383eb5a1f4a498d1951b49ff3ae7f66147587596..f580367f4f87400854b3d02fd4c94b073ec3c346 100644
--- a/content/common/websocket_messages.h
+++ b/content/common/websocket_messages.h
@@ -67,10 +67,11 @@ IPC_STRUCT_TRAITS_END()
// Open new WebSocket connection to |socket_url|. |requested_protocols| is a
// list of tokens identifying sub-protocols the renderer would like to use, as
// described in RFC6455 "Subprotocols Using the WebSocket Protocol".
-IPC_MESSAGE_ROUTED4(WebSocketHostMsg_AddChannelRequest,
+IPC_MESSAGE_ROUTED5(WebSocketHostMsg_AddChannelRequest,
GURL /* socket_url */,
std::vector<std::string> /* requested_protocols */,
url::Origin /* origin */,
pfeldman 2016/06/08 00:11:39 @tsepez, @creis: should we rename this origin into
+ std::string /* additional_headers */,
Tom Sepez 2016/06/03 18:08:40 Seems like a bad idea to let the renderer specific
allada 2016/06/03 23:48:57 Right now it's not exposed to any script interface
int /* render_frame_id */)
// Send a complete binary WebSocket message consisting of the Blob identified by
« no previous file with comments | « content/child/websocket_bridge.cc ('k') | net/websockets/websocket_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698