diff options
author | yhirano@chromium.org <yhirano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 10:22:57 +0000 |
---|---|---|
committer | yhirano@chromium.org <yhirano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 10:22:57 +0000 |
commit | 7824cf82df8244b5f66a56e663ce6e121c25de88 (patch) | |
tree | 3a2908a3687bc00a80d2ca49b7324ce3cd71c088 /content/browser/renderer_host/websocket_host.h | |
parent | ed8fd9152e0dff6c26f69f968e0d4aa4bd890d57 (diff) | |
download | chromium_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/browser/renderer_host/websocket_host.h')
-rw-r--r-- | content/browser/renderer_host/websocket_host.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/content/browser/renderer_host/websocket_host.h b/content/browser/renderer_host/websocket_host.h index ba10f1c..bfe6304 100644 --- a/content/browser/renderer_host/websocket_host.h +++ b/content/browser/renderer_host/websocket_host.h @@ -14,6 +14,10 @@ class GURL; +namespace url { +class Origin; +} // namespace url + namespace net { class WebSocketChannel; class URLRequestContext; @@ -47,7 +51,7 @@ class CONTENT_EXPORT WebSocketHost { void OnAddChannelRequest(const GURL& socket_url, const std::vector<std::string>& requested_protocols, - const GURL& origin); + const url::Origin& origin); void OnSendFrame(bool fin, WebSocketMessageType type, |