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

Unified Diff: content/common/websocket_messages.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/common/websocket_messages.h
diff --git a/content/common/websocket_messages.h b/content/common/websocket_messages.h
index 20fef1e94a720b56c8c62474d773aa57a136013e..b4616ae49cc3bf3122153950d9cc3d8b08b943b9 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/serialized_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 */)
+ SerializedOrigin /* origin */)
// WebSocket messages sent from the browser to the renderer.

Powered by Google App Engine
This is Rietveld 408576698