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

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, 10 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..83ebea5b0e34b5a166bb3db09749c4222bbaeaff 100644
--- a/content/browser/renderer_host/websocket_host.h
+++ b/content/browser/renderer_host/websocket_host.h
@@ -13,6 +13,7 @@
#include "content/common/websocket.h"
class GURL;
+class SerializedOrigin;
namespace net {
class WebSocketChannel;
@@ -47,7 +48,7 @@ class CONTENT_EXPORT WebSocketHost {
void OnAddChannelRequest(const GURL& socket_url,
const std::vector<std::string>& requested_protocols,
- const GURL& origin);
+ const SerializedOrigin& origin);
void OnSendFrame(bool fin,
WebSocketMessageType type,
« no previous file with comments | « no previous file | content/browser/renderer_host/websocket_host.cc » ('j') | content/public/common/common_param_traits.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698