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

Unified Diff: components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.cc

Issue 2867833002: NavigationThrottle: allow customization of net::Error when blocking
Patch Set: Rebase Created 3 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: components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.cc
diff --git a/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.cc b/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.cc
index ebb562e5278a6f19584c350ea235efd6285956b8..c82765691844671c17c74b7e7606899873e5455b 100644
--- a/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.cc
+++ b/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.cc
@@ -57,7 +57,7 @@ SubframeNavigationFilteringThrottle::DeferToCalculateLoadPolicy() {
base::Bind(&SubframeNavigationFilteringThrottle::OnCalculatedLoadPolicy,
weak_ptr_factory_.GetWeakPtr()));
last_defer_timestamp_ = base::TimeTicks::Now();
- return content::NavigationThrottle::ThrottleCheckResult::DEFER;
+ return content::NavigationThrottle::DEFER;
}
void SubframeNavigationFilteringThrottle::OnCalculatedLoadPolicy(

Powered by Google App Engine
This is Rietveld 408576698