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

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
« no previous file with comments | « no previous file | content/browser/renderer_host/websocket_host.cc » ('j') | content/common/serialized_origin.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1ec5c50469c522c24cde25176933d4b6cf3f4805 100644
--- a/content/browser/renderer_host/websocket_host.h
+++ b/content/browser/renderer_host/websocket_host.h
@@ -25,6 +25,7 @@ class Message;
namespace content {
+class SerializedOrigin;
class WebSocketDispatcherHost;
// Host of net::WebSocketChannel. The lifetime of an instance of this class is
@@ -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/common/serialized_origin.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698