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

Unified Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 782093002: Ensure that before creating proxy of site A, RVH of site A is initialized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up test files to load the tree structure directly from html Created 5 years, 11 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/frame_host/render_frame_host_manager.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index d902c9edef179500d5d68635974b4e2deb381187..56425817f6a131b29ee91a3e129801066d63ca9c 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -397,6 +397,10 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver {
void OnDidStartLoading();
void OnDidStopLoading();
+ void EnsureRenderViewInitialized(FrameTreeNode* source,
+ RenderViewHostImpl* render_view_host,
+ SiteInstance* instance);
+
private:
friend class NavigatorTestWithBrowserSideNavigation;
friend class RenderFrameHostManagerTest;
@@ -409,6 +413,10 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver {
// FrameTreeNode's RenderFrameHostManager.
static bool ClearProxiesInSiteInstance(int32 site_instance_id,
FrameTreeNode* node);
+ // Used with FrameTree::ForEach to reset initialized state of
+ // RenderFrameProxyHosts from a FrameTreeNode's RenderFrameHostManager.
+ static bool ResetProxiesInSiteInstance(int32 site_instance_id,
+ FrameTreeNode* node);
// Returns whether this tab should transition to a new renderer for
// cross-site URLs. Enabled unless we see the --process-per-tab command line

Powered by Google App Engine
This is Rietveld 408576698