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

Unified Diff: content/child/websocket_bridge.h

Issue 308513004: Pass render frame ID to WebSocketBridge (Chromium side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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
« no previous file with comments | « no previous file | content/child/websocket_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/websocket_bridge.h
diff --git a/content/child/websocket_bridge.h b/content/child/websocket_bridge.h
index aa96dd75c09ba957672877c51774bad0e93e14e4..b606a74dd159166605a23c2dfeb4e82699cddbf7 100644
--- a/content/child/websocket_bridge.h
+++ b/content/child/websocket_bridge.h
@@ -45,6 +45,10 @@ class WebSocketBridge : public blink::WebSocketHandle {
virtual void Disconnect();
+ void set_render_frame_id(int id) {
+ render_frame_id_ = id;
+ }
+
private:
virtual ~WebSocketBridge();
@@ -62,6 +66,7 @@ class WebSocketBridge : public blink::WebSocketHandle {
void DidStartClosingHandshake();
int channel_id_;
+ int render_frame_id_;
blink::WebSocketHandleClient* client_;
static const int kInvalidChannelId = -1;
« no previous file with comments | « no previous file | content/child/websocket_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698