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

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: sync again 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 cf6c54421c68e92f438309872c9f0fa6b158e90d..e46e996e5073967bbea8848873c7fb4752556cdd 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -396,6 +396,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;
@@ -408,6 +412,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 ResetProxiesInSiteInstanceForNewProcess(int32 site_instance_id,
nasko 2015/01/20 23:51:23 nit: The "ForNewProcess" doesn't add much to the n
lazyboy 2015/01/21 18:52:14 Done.
+ 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