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

Unified Diff: components/policy/core/browser/url_blacklist_manager.cc

Issue 209473008: Block all web requests until force enrollment status has been confirmed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Flag based blocking. Created 6 years, 9 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/policy/core/browser/url_blacklist_manager.cc
diff --git a/components/policy/core/browser/url_blacklist_manager.cc b/components/policy/core/browser/url_blacklist_manager.cc
index c5489bb412ee6a95f92f1adba2fe95b726d7d2d3..b6fd7a78ab6f2e81a6a24903b00ba3c67af58354 100644
--- a/components/policy/core/browser/url_blacklist_manager.cc
+++ b/components/policy/core/browser/url_blacklist_manager.cc
@@ -369,7 +369,7 @@ bool URLBlacklistManager::IsRequestBlocked(
#endif
bool block = false;
- if (override_blacklist_(request.url(), &block))
+ if (override_blacklist_.Run(request.url(), &block))
return block;
return IsURLBlocked(request.url());

Powered by Google App Engine
This is Rietveld 408576698