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

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

Issue 2680283002: Adds the setting to limitl the subresource filter activation. (Closed)
Patch Set: Created 3 years, 10 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 5161c59337ae651d21147f9027777964402254f4..ec1621532d923046acf5d916aaf72ed060168235 100644
--- a/components/content_settings/core/common/content_settings.cc
+++ b/components/content_settings/core/common/content_settings.cc
@@ -58,7 +58,9 @@ ContentSettingsType kHistogramOrder[] = {
CONTENT_SETTINGS_TYPE_AUTOPLAY,
CONTENT_SETTINGS_TYPE_DEFAULT, // PROMPT_NO_DECISION_COUNT (migrated).
CONTENT_SETTINGS_TYPE_IMPORTANT_SITE_INFO,
- CONTENT_SETTINGS_TYPE_PERMISSION_AUTOBLOCKER_DATA};
+ CONTENT_SETTINGS_TYPE_PERMISSION_AUTOBLOCKER_DATA,
+ CONTENT_SETTINGS_TYPE_SUBRESOURCE_FILTER,
+};
int ContentSettingTypeToHistogramValue(ContentSettingsType content_setting,
size_t* num_values) {

Powered by Google App Engine
This is Rietveld 408576698