summaryrefslogtreecommitdiffstats
path: root/content/common/websocket_messages.h
diff options
context:
space:
mode:
authoryhirano@chromium.org <yhirano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 10:22:57 +0000
committeryhirano@chromium.org <yhirano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 10:22:57 +0000
commit7824cf82df8244b5f66a56e663ce6e121c25de88 (patch)
tree3a2908a3687bc00a80d2ca49b7324ce3cd71c088 /content/common/websocket_messages.h
parented8fd9152e0dff6c26f69f968e0d4aa4bd890d57 (diff)
downloadchromium_src-7824cf82df8244b5f66a56e663ce6e121c25de88.zip
chromium_src-7824cf82df8244b5f66a56e663ce6e121c25de88.tar.gz
chromium_src-7824cf82df8244b5f66a56e663ce6e121c25de88.tar.bz2
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
Diffstat (limited to 'content/common/websocket_messages.h')
-rw-r--r--content/common/websocket_messages.h3
1 files changed, 2 insertions, 1 deletions
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<std::string> /* requested_protocols */,
- GURL /* origin */)
+ url::Origin /* origin */)
// WebSocket messages sent from the browser to the renderer.