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

Unified Diff: chrome/browser/android/preferences/pref_service_bridge.cc

Issue 2553053003: [ImportantSites] Fixed important sites metrics & blacklisting (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/preferences/pref_service_bridge.cc
diff --git a/chrome/browser/android/preferences/pref_service_bridge.cc b/chrome/browser/android/preferences/pref_service_bridge.cc
index 95a3398282636b39b908e748adab533334bc19dc..1a6a57fc5f8f056e169957621d366df714e40a0c 100644
--- a/chrome/browser/android/preferences/pref_service_bridge.cc
+++ b/chrome/browser/android/preferences/pref_service_bridge.cc
@@ -648,7 +648,7 @@ static void ClearBrowsingData(
filter_builder->AddRegisterableDomain(domain);
}
- if (!excluding_domains.empty()) {
+ if (!excluding_domains.empty() || !ignoring_domains.empty()) {
ImportantSitesUtil::RecordBlacklistedAndIgnoredImportantSites(
GetOriginalProfile(), excluding_domains, excluding_domain_reasons,
ignoring_domains, ignoring_domain_reasons);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698