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

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

Issue 464593003: Don't swap out the old RenderFrameHost until the new one commits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Major rebase Created 6 years, 4 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_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index de6a58e9ea633d189f1c696578b3e5e58fca3ebc..950a5495b211ec16173b1a054f28f27bc0b988a9 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -267,17 +267,6 @@ class CONTENT_EXPORT RenderFrameHostImpl
gfx::NativeViewAccessible GetParentNativeViewAccessible() const;
#endif
- // Returns whether this RenderFrameHost has an outstanding cross-site request.
- // Cleared when we hear the response and start to swap out the old
- // RenderFrameHost, or if we hear a commit here without a network request.
- bool HasPendingCrossSiteRequest();
-
- // Sets whether this RenderFrameHost has an outstanding cross-site request,
- // for which another renderer will need to run an onunload event handler.
- // This is called before the first navigation event for this RenderFrameHost,
- // and cleared when we hear the response or commit.
- void SetHasPendingCrossSiteRequest(bool has_pending_request);
-
protected:
friend class RenderFrameHostFactory;

Powered by Google App Engine
This is Rietveld 408576698