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

Unified Diff: content/common/websocket_messages.h

Issue 2102993002: Fix WebSocket to set first party for cookies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a Created 4 years, 6 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
Index: content/common/websocket_messages.h
diff --git a/content/common/websocket_messages.h b/content/common/websocket_messages.h
index 383eb5a1f4a498d1951b49ff3ae7f66147587596..e87b94bdb69f78593d5ac9b63460f29adde88ce3 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 */,
+ GURL /* first_party_for_cookies */,
int /* render_frame_id */)
// Send a complete binary WebSocket message consisting of the Blob identified by

Powered by Google App Engine
This is Rietveld 408576698