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

Unified Diff: chrome/browser/supervised_user/supervised_user_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: chrome/browser/supervised_user/supervised_user_navigation_throttle.cc
diff --git a/chrome/browser/supervised_user/supervised_user_navigation_throttle.cc b/chrome/browser/supervised_user/supervised_user_navigation_throttle.cc
index f3b535a88246dcf72e28698fe64952e1a5bb9d3c..b70256c021a9bddbc679b0d8f407866ffa7b8b03 100644
--- a/chrome/browser/supervised_user/supervised_user_navigation_throttle.cc
+++ b/chrome/browser/supervised_user/supervised_user_navigation_throttle.cc
@@ -159,8 +159,8 @@ SupervisedUserNavigationThrottle::CheckURL() {
if (got_result)
behavior_ = SupervisedUserURLFilter::INVALID;
if (deferred_)
- return ThrottleCheckResult::DEFER;
- return ThrottleCheckResult::PROCEED;
+ return NavigationThrottle::DEFER;
+ return NavigationThrottle::PROCEED;
}
void SupervisedUserNavigationThrottle::ShowInterstitial(

Powered by Google App Engine
This is Rietveld 408576698