From 7824cf82df8244b5f66a56e663ce6e121c25de88 Mon Sep 17 00:00:00 2001 From: "yhirano@chromium.org" Date: Thu, 13 Mar 2014 10:22:57 +0000 Subject: Introduce url::Origin to represent Web Origin. Introduce url::Origin to represent a serialized Web Origin defined in RFC6455. This class wraps a string representation of blink-side SecurityOrigin object. BUG=339373 R=tyoshino@chromium.org, ricea@chromium.org Review URL: https://codereview.chromium.org/170843007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256789 0039d316-1c4b-4281-b951-d872f2087c98 --- content/common/websocket_messages.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/common/websocket_messages.h') diff --git a/content/common/websocket_messages.h b/content/common/websocket_messages.h index 20fef1e..0ece66a 100644 --- a/content/common/websocket_messages.h +++ b/content/common/websocket_messages.h @@ -21,6 +21,7 @@ #include "content/common/websocket.h" #include "ipc/ipc_message_macros.h" #include "url/gurl.h" +#include "url/origin.h" #undef IPC_MESSAGE_EXPORT #define IPC_MESSAGE_EXPORT CONTENT_EXPORT @@ -60,7 +61,7 @@ IPC_STRUCT_TRAITS_END() IPC_MESSAGE_ROUTED3(WebSocketHostMsg_AddChannelRequest, GURL /* socket_url */, std::vector /* requested_protocols */, - GURL /* origin */) + url::Origin /* origin */) // WebSocket messages sent from the browser to the renderer. -- cgit v1.1