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

Unified Diff: chrome/browser/ui/webui/browsing_history_handler.cc

Issue 2776493005: Convert SupervisedUserResourceThrottle to a NavigationThrottle. (Closed)
Patch Set: Response to comments Created 3 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: chrome/browser/ui/webui/browsing_history_handler.cc
diff --git a/chrome/browser/ui/webui/browsing_history_handler.cc b/chrome/browser/ui/webui/browsing_history_handler.cc
index 1bf02e117dee04782598c2934a969b5f3e6ce3e7..8f25986fc9f8aec691b08800a017f0b819e9cb7f 100644
--- a/chrome/browser/ui/webui/browsing_history_handler.cc
+++ b/chrome/browser/ui/webui/browsing_history_handler.cc
@@ -238,7 +238,7 @@ std::unique_ptr<base::DictionaryValue> HistoryEntryToValue(
#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
if (supervised_user_service) {
const SupervisedUserURLFilter* url_filter =
- supervised_user_service->GetURLFilterForUIThread();
+ supervised_user_service->GetURLFilter();
int filtering_behavior =
url_filter->GetFilteringBehaviorForURL(entry->url.GetWithEmptyPath());
is_blocked_visit = entry->blocked_visit;

Powered by Google App Engine
This is Rietveld 408576698