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

Unified Diff: content/browser/loader/navigation_url_loader_impl.cc

Issue 958083002: PlzNavigate: Show error pages when the navigation failed before commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@support-data-urls
Patch Set: Updated test Created 5 years, 8 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/loader/navigation_url_loader_impl.cc
diff --git a/content/browser/loader/navigation_url_loader_impl.cc b/content/browser/loader/navigation_url_loader_impl.cc
index 658c4dc775f24983f762d2a4b318a3d442b0b918..4082489fea1cb2d91e5b6267107e6e9b92a8ded1 100644
--- a/content/browser/loader/navigation_url_loader_impl.cc
+++ b/content/browser/loader/navigation_url_loader_impl.cc
@@ -64,10 +64,11 @@ void NavigationURLLoaderImpl::NotifyResponseStarted(
delegate_->OnResponseStarted(response, body.Pass());
}
-void NavigationURLLoaderImpl::NotifyRequestFailed(int net_error) {
+void NavigationURLLoaderImpl::NotifyRequestFailed(bool in_cache,
+ int net_error) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- delegate_->OnRequestFailed(net_error);
+ delegate_->OnRequestFailed(in_cache, net_error);
}
void NavigationURLLoaderImpl::NotifyRequestStarted(base::TimeTicks timestamp) {
« no previous file with comments | « content/browser/loader/navigation_url_loader_impl.h ('k') | content/browser/loader/navigation_url_loader_impl_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698