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

Unified Diff: components/content_settings/core/common/content_settings.cc

Issue 2651123002: Migrate content setting PROMPT_NO_DECISION_COUNT to PERMISSION_AUTOBLOCKER_DATA (Closed)
Patch Set: Rename pref Created 3 years, 11 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: components/content_settings/core/common/content_settings.cc
diff --git a/components/content_settings/core/common/content_settings.cc b/components/content_settings/core/common/content_settings.cc
index 5139efc6c541496f6aa899e153c234cb4a4b9ef9..5161c59337ae651d21147f9027777964402254f4 100644
--- a/components/content_settings/core/common/content_settings.cc
+++ b/components/content_settings/core/common/content_settings.cc
@@ -52,13 +52,13 @@ ContentSettingsType kHistogramOrder[] = {
CONTENT_SETTINGS_TYPE_APP_BANNER,
CONTENT_SETTINGS_TYPE_SITE_ENGAGEMENT,
CONTENT_SETTINGS_TYPE_DURABLE_STORAGE,
- CONTENT_SETTINGS_TYPE_DEFAULT, // KEYGEN (removed)
+ CONTENT_SETTINGS_TYPE_DEFAULT, // KEYGEN (removed).
CONTENT_SETTINGS_TYPE_BLUETOOTH_GUARD,
CONTENT_SETTINGS_TYPE_BACKGROUND_SYNC,
CONTENT_SETTINGS_TYPE_AUTOPLAY,
- CONTENT_SETTINGS_TYPE_PROMPT_NO_DECISION_COUNT,
+ CONTENT_SETTINGS_TYPE_DEFAULT, // PROMPT_NO_DECISION_COUNT (migrated).
CONTENT_SETTINGS_TYPE_IMPORTANT_SITE_INFO,
-};
+ CONTENT_SETTINGS_TYPE_PERMISSION_AUTOBLOCKER_DATA};
int ContentSettingTypeToHistogramValue(ContentSettingsType content_setting,
size_t* num_values) {

Powered by Google App Engine
This is Rietveld 408576698