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

Unified Diff: chrome/browser/engagement/important_sites_util.cc

Issue 2938163002: Store base::Value in ContentSettingPatternSource instead of an enum (Closed)
Patch Set: rebased Created 3 years, 6 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/engagement/important_sites_util.cc
diff --git a/chrome/browser/engagement/important_sites_util.cc b/chrome/browser/engagement/important_sites_util.cc
index a9133c9a88485bd6dfa06bd9cf1d62443ffcb214..09dd03258bd673f5cb4291815d598ec5ee951e29 100644
--- a/chrome/browser/engagement/important_sites_util.cc
+++ b/chrome/browser/engagement/important_sites_util.cc
@@ -264,7 +264,7 @@ void PopulateInfoMapWithContentTypeAllowed(
// wildcard patterns.
std::set<GURL> content_origins;
for (const ContentSettingPatternSource& site : content_settings_list) {
- if (site.setting != CONTENT_SETTING_ALLOW)
+ if (site.GetContentSetting() != CONTENT_SETTING_ALLOW)
continue;
MaybePopulateImportantInfoForReason(GURL(site.primary_pattern.ToString()),
&content_origins, reason, output);

Powered by Google App Engine
This is Rietveld 408576698