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

Unified Diff: net/websockets/websocket_channel.h

Issue 2397393002: Provide child/frame IDs for WebSocket handshake request (Closed)
Patch Set: fix Created 4 years, 2 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: 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);
« no previous file with comments | « net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java ('k') | net/websockets/websocket_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698