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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 1155713005: Use a resource throttle to implement shouldOverrideUrlLoading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add flag showing that shouldOverrideUrl cancelled the navigation Created 5 years, 7 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/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 818f5d525e30c74f81981a653c312092eb9e94dd..7f6eecede0606abca9360dba8982f93f6fa095a3 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -742,7 +742,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 {
if (request_.useStreamOnResponse()) {
got_all_stream_body_data_ = true;

Powered by Google App Engine
This is Rietveld 408576698