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

Unified Diff: content/public/browser/web_contents.h

Issue 2331343005: PlzNavigate: Get StreamPrivate API to work. (Closed)
Patch Set: Fix DCHECK leading to browser test redness Created 4 years, 3 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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 37b3bf2b5d759f6de4423e4e09434e85d4206541..1eb4d7c0c60b656b6b1918b8f7ae61be99089e69 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -186,6 +186,10 @@ class WebContents : public PageNavigator,
CONTENT_EXPORT static WebContents* FromRenderFrameHost(RenderFrameHost* rfh);
+ // Returns the WebContents associated with the |frame_tree_node_id|.
+ CONTENT_EXPORT static WebContents* FromFrameTreeNodeId(
+ int frame_tree_node_id);
+
~WebContents() override {}
// Intrinsic tab state -------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698