Index: content/browser/frame_host/navigator_impl.h |
diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h |
index a0574a98ce62add89d6fecbf8f9ca68c9f518458..e5af29e8993b4acef5334dd2e6b4bfe5dc4ba019 100644 |
--- a/content/browser/frame_host/navigator_impl.h |
+++ b/content/browser/frame_host/navigator_impl.h |
@@ -97,6 +97,7 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator { |
void CancelNavigation(FrameTreeNode* frame_tree_node) override; |
NavigationHandleImpl* GetNavigationHandleForFrameHost( |
RenderFrameHostImpl* render_frame_host) override; |
+ void DiscardPendingEntryIfNeeded(NavigationHandleImpl* handle) override; |
private: |
// Holds data used to track browser side navigation metrics. |
@@ -145,10 +146,6 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator { |
SiteInstanceImpl* site_instance, |
NavigationHandleImpl* navigation_handle); |
- // Called when a navigation has failed to discard the pending entry in order |
- // to avoid url spoofs. |
- void DiscardPendingEntryOnFailureIfNeeded(NavigationHandleImpl* handle); |
- |
// The NavigationController that will keep track of session history for all |
// RenderFrameHost objects using this NavigatorImpl. |
// TODO(nasko): Move ownership of the NavigationController from |