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

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

Issue 1777903003: Ensure the NavigationHandle's nav entry ID is updated during transfers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move fix to another CL (now cleanup only) Created 4 years, 9 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/navigation_controller_impl.h
diff --git a/content/browser/frame_host/navigation_controller_impl.h b/content/browser/frame_host/navigation_controller_impl.h
index deb6db483e4f6f200801220237bbe60dc0f322f3..9b0e6dcb5bf434b4896d719c916afb1d473f8fc3 100644
--- a/content/browser/frame_host/navigation_controller_impl.h
+++ b/content/browser/frame_host/navigation_controller_impl.h
@@ -258,6 +258,10 @@ class CONTENT_EXPORT NavigationControllerImpl
FrameLoadVector* sameDocumentLoads,
FrameLoadVector* differentDocumentLoads);
+ // Returns whether there is a pending NavigationEntry whose unique ID matches
+ // the given NavigationHandle's pending_nav_entry_id.
+ bool PendingEntryMatchesHandle(NavigationHandleImpl* handle) const;
+
// Classifies the given renderer navigation (see the NavigationType enum).
NavigationType ClassifyNavigation(
RenderFrameHostImpl* rfh,

Powered by Google App Engine
This is Rietveld 408576698