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

Unified Diff: chrome/browser/supervised_user/supervised_user_url_filter.h

Issue 2456643005: Reduce buggy usage of the registry controlled domain service. (Closed)
Patch Set: Fix Created 4 years, 2 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_url_filter.h
diff --git a/chrome/browser/supervised_user/supervised_user_url_filter.h b/chrome/browser/supervised_user/supervised_user_url_filter.h
index 8bfdd89cfe5ed52fe384a3ecee92dfc894fc3c05..cc9c6ea986291d43ee07f68033073360cca916ab 100644
--- a/chrome/browser/supervised_user/supervised_user_url_filter.h
+++ b/chrome/browser/supervised_user/supervised_user_url_filter.h
@@ -103,7 +103,7 @@ class SupervisedUserURLFilter
// Asterisks in other parts of the pattern are not allowed.
// |host| and |pattern| are assumed to be normalized to lower-case.
// This method is public for testing.
- static bool HostMatchesPattern(const std::string& host,
+ static bool HostMatchesPattern(const std::string& canonical_host,
const std::string& pattern);
// Returns the filtering behavior for a given URL, based on the default

Powered by Google App Engine
This is Rietveld 408576698