| Index: net/websockets/websocket_channel.cc
|
| diff --git a/net/websockets/websocket_channel.cc b/net/websockets/websocket_channel.cc
|
| index 84edecf4021c85694230b90752b2b146e06fe2f4..209f3a4af93de4b49bc3a25fee19d5df5e73f197 100644
|
| --- a/net/websockets/websocket_channel.cc
|
| +++ b/net/websockets/websocket_channel.cc
|
| @@ -28,6 +28,7 @@
|
| #include "net/websockets/websocket_handshake_response_info.h"
|
| #include "net/websockets/websocket_mux.h"
|
| #include "net/websockets/websocket_stream.h"
|
| +#include "url/serialized_origin.h"
|
|
|
| namespace net {
|
|
|
| @@ -277,7 +278,7 @@ WebSocketChannel::~WebSocketChannel() {
|
| void WebSocketChannel::SendAddChannelRequest(
|
| const GURL& socket_url,
|
| const std::vector<std::string>& requested_subprotocols,
|
| - const GURL& origin) {
|
| + const SerializedOrigin& origin) {
|
| // Delegate to the tested version.
|
| SendAddChannelRequestWithSuppliedCreator(
|
| socket_url,
|
| @@ -404,7 +405,7 @@ void WebSocketChannel::StartClosingHandshake(uint16 code,
|
| void WebSocketChannel::SendAddChannelRequestForTesting(
|
| const GURL& socket_url,
|
| const std::vector<std::string>& requested_subprotocols,
|
| - const GURL& origin,
|
| + const SerializedOrigin& origin,
|
| const WebSocketStreamCreator& creator) {
|
| SendAddChannelRequestWithSuppliedCreator(
|
| socket_url, requested_subprotocols, origin, creator);
|
| @@ -418,7 +419,7 @@ void WebSocketChannel::SetClosingHandshakeTimeoutForTesting(
|
| void WebSocketChannel::SendAddChannelRequestWithSuppliedCreator(
|
| const GURL& socket_url,
|
| const std::vector<std::string>& requested_subprotocols,
|
| - const GURL& origin,
|
| + const SerializedOrigin& origin,
|
| const WebSocketStreamCreator& creator) {
|
| DCHECK_EQ(FRESHLY_CONSTRUCTED, state_);
|
| if (!socket_url.SchemeIsWSOrWSS()) {
|
|
|