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

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

Issue 15682009: Eliminate SwapOut message parameters, keeping state in RVHM instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflicts Created 7 years, 6 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/web_contents/render_view_host_manager.h
diff --git a/content/browser/web_contents/render_view_host_manager.h b/content/browser/web_contents/render_view_host_manager.h
index d178680c11a32877b0b637418d18cd1786b48c6d..1631c8133fe9411a339d11c7600e90a5de153f04 100644
--- a/content/browser/web_contents/render_view_host_manager.h
+++ b/content/browser/web_contents/render_view_host_manager.h
@@ -206,8 +206,6 @@ class CONTENT_EXPORT RenderViewHostManager
bool for_cross_site_transition,
bool proceed,
const base::TimeTicks& proceed_time) OVERRIDE;
- virtual void OnCrossSiteResponse(int new_render_process_host_id,
- int new_request_id) OVERRIDE;
// NotificationObserver implementation.
virtual void Observe(int type,
@@ -224,6 +222,10 @@ class CONTENT_EXPORT RenderViewHostManager
// Returns the swapped out RenderViewHost for the given SiteInstance, if any.
RenderViewHostImpl* GetSwappedOutRenderViewHost(SiteInstance* instance);
+ // Runs the unload handler in the current page, when we know that a pending
+ // cross-process navigation is going to commit.
+ void SwapOutOldPage();
+
private:
friend class RenderViewHostManagerTest;
friend class TestWebContents;

Powered by Google App Engine
This is Rietveld 408576698