Index: net/websockets/websocket_channel.h |
diff --git a/net/websockets/websocket_channel.h b/net/websockets/websocket_channel.h |
index 430897913a79594ba0e45d9571580cd5ab9a40d6..2f68b144ef6c65a56e79e7882eec75d0a30b0d78 100644 |
--- a/net/websockets/websocket_channel.h |
+++ b/net/websockets/websocket_channel.h |
@@ -33,6 +33,7 @@ namespace net { |
class NetLogWithSource; |
class IOBuffer; |
+class URLRequest; |
class URLRequestContext; |
struct WebSocketHandshakeRequestInfo; |
struct WebSocketHandshakeResponseInfo; |
@@ -226,6 +227,9 @@ class NET_EXPORT WebSocketChannel { |
const std::string& additional_headers, |
const WebSocketStreamRequestCreationCallback& callback); |
+ // Called when a URLRequest is created for handshaking. |
+ void OnCreateURLRequest(URLRequest* request); |
+ |
// Success callback from WebSocketStream::CreateAndConnectStream(). Reports |
// success to the event interface. May delete |this|. |
void OnConnectSuccess(std::unique_ptr<WebSocketStream> stream); |