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

Unified Diff: components/subresource_filter/content/browser/activation_state_computing_navigation_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/activation_state_computing_navigation_throttle.cc
diff --git a/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc b/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc
index 01c8cb75e45b153366c880e5df4fb43866586b1f..3384aefafc247ca06fd8e158f313e55963a0d1f2 100644
--- a/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc
+++ b/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc
@@ -76,7 +76,7 @@ ActivationStateComputingNavigationThrottle::WillProcessResponse() {
parent_activation_state_->activation_level == ActivationLevel::DISABLED) {
DCHECK(navigation_handle()->IsInMainFrame());
DCHECK(!ruleset_handle_);
- return content::NavigationThrottle::ThrottleCheckResult::PROCEED;
+ return content::NavigationThrottle::PROCEED;
}
DCHECK(ruleset_handle_);
@@ -96,7 +96,7 @@ ActivationStateComputingNavigationThrottle::WillProcessResponse() {
weak_ptr_factory_.GetWeakPtr()));
defer_timestamp_ = base::TimeTicks::Now();
- return content::NavigationThrottle::ThrottleCheckResult::DEFER;
+ return content::NavigationThrottle::DEFER;
}
const char* ActivationStateComputingNavigationThrottle::GetNameForLogging() {

Powered by Google App Engine
This is Rietveld 408576698