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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 1194383003: Add a flag showing whether the current request was ignored by a handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybot failures (DidFailProvisionalLoad calls in unit tests) Created 5 years, 6 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/child/web_url_request_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 65086cf956bda35d3334a79953108ac9f87314f4..c7f4ebef62c0c4256893dda9166decb47d07c614 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -739,7 +739,8 @@ void WebURLLoaderImpl::Context::OnCompletedRequest(
if (error_code != net::OK) {
client_->didFail(
loader_,
- CreateWebURLError(request_.url(), stale_copy_in_cache, error_code));
+ CreateWebURLError(request_.url(), stale_copy_in_cache, error_code,
+ was_ignored_by_handler));
} else {
client_->didFinishLoading(loader_,
(completion_time - TimeTicks()).InSecondsF(),
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/child/web_url_request_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698