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

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

Issue 2577613003: [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 c7af4cfac82a5a1579b90f3b738ba35ba1f6b094..01be367b1b06087f33cdbb38355fb1dfc2411e5d 100644
--- a/chrome/browser/android/preferences/pref_service_bridge.cc
+++ b/chrome/browser/android/preferences/pref_service_bridge.cc
@@ -647,7 +647,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