DescriptionImprove the comments around content settings histograms.
1. Explicitly mention that new histogram entries must be added to the end.
This is necessary to keep consistent numbering of the histograms.
However, it is not necessary for the ordering to be the same as in
ContentSettingsType - in fact, the requirement to replace removed
settings with placeholders means that there won't be perfect
correspondence.
2. Refer to |kHistogramOrder| from content_settings_types.h, since
ContentSettingsTypeHistogram does not exist anymore.
3. Remove the #ifdef for PROTECTED_MEDIA_IDENTIFIER in |kHistogramOrder|.
PROTECTED_MEDIA_IDENTIFIER is not defined on some platforms, but that
is true for many content settings; this is captured in
WebsiteSettingsRegistry, and should not be specified in histograms.
BUG=None
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|