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

Unified Diff: content/browser/renderer_host/websocket_host.h

Issue 170843007: Introduce url::Origin to represent Web Origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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/browser/renderer_host/websocket_host.h
diff --git a/content/browser/renderer_host/websocket_host.h b/content/browser/renderer_host/websocket_host.h
index ba10f1c3885509a114c55bfe0bdee420f11c388c..bfe63043f0634111a340ca0c4bdf6f65e4aa24f3 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,
« no previous file with comments | « content/browser/renderer_host/websocket_dispatcher_host_unittest.cc ('k') | content/browser/renderer_host/websocket_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698