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

Unified Diff: content/browser/websockets/websocket_impl.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: content/browser/websockets/websocket_impl.h
diff --git a/content/browser/websockets/websocket_impl.h b/content/browser/websockets/websocket_impl.h
index fb64613dc55ba538b4835db4970a9ccb19d43a31..c6da13167ed79a57c67d885b95a2ff99b24a7341 100644
--- a/content/browser/websockets/websocket_impl.h
+++ b/content/browser/websockets/websocket_impl.h
@@ -46,6 +46,7 @@ class CONTENT_EXPORT WebSocketImpl
WebSocketImpl(Delegate* delegate,
blink::mojom::WebSocketRequest request,
+ int child_id,
int frame_id,
base::TimeDelta delay);
~WebSocketImpl() override;
@@ -96,6 +97,7 @@ class CONTENT_EXPORT WebSocketImpl
// Zero indicates there is no pending SendFlowControl().
int64_t pending_flow_control_quota_;
+ int child_id_;
int frame_id_;
// handshake_succeeded_ is set and used by WebSocketManager to manage

Powered by Google App Engine
This is Rietveld 408576698