Index: content/browser/frame_host/navigator.h |
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h |
index 5f0a059a79ce0a2c4f7b3e8337b040dc5f32baed..5a1f906639160f6b68ef985da198d19fa30f5467 100644 |
--- a/content/browser/frame_host/navigator.h |
+++ b/content/browser/frame_host/navigator.h |
@@ -157,9 +157,16 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> { |
const BeginNavigationParams& begin_params); |
// PlzNavigate |
- // Cancel a NavigationRequest for |frame_tree_node|. Called when |
- // |frame_tree_node| is destroyed. |
- virtual void CancelNavigation(FrameTreeNode* frame_tree_node) {} |
+ // Used to abort an ongoing renderer-initiated navigation. |
+ virtual void OnAbortNavigation(FrameTreeNode* frame_tree_node) {} |
+ |
+ // PlzNavigate |
+ // Cancel a NavigationRequest for |frame_tree_node|. If the request is |
+ // renderer-initiated and |inform_renderer| is true, an IPC will be sent to |
+ // the renderer process to inform it that the navigation it requested was |
+ // cancelled. |
+ virtual void CancelNavigation(FrameTreeNode* frame_tree_node, |
+ bool inform_renderer) {} |
// Called when the network stack started handling the navigation request |
// so that the |timestamp| when it happened can be recorded into an histogram. |