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

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

Issue 2687593002: PlzNavigate: Invoke didFailProvisionalLoad() in the renderer when a navigation request is cancelled… (Closed)
Patch Set: We may not have a provisional data source at all times Created 3 years, 10 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.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 6551608a4d8b35f06e988e1b3b1ebc68316609ef..54dfada105a4171dfd4c105f4fa0abf9865e5789 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2925,6 +2925,11 @@ void RenderFrameHostImpl::ClearFocusedElement() {
Send(new FrameMsg_ClearFocusedElement(GetRoutingID()));
}
+void RenderFrameHostImpl::AbortNavigationRequest(const GURL& url,
+ int error_code) {
+ Send(new FrameMsg_AbortNavigationRequest(GetRoutingID(), url, error_code));
+}
+
bool RenderFrameHostImpl::IsSameSiteInstance(
RenderFrameHostImpl* other_render_frame_host) {
// As a sanity check, make sure the frame belongs to the same BrowserContext.

Powered by Google App Engine
This is Rietveld 408576698