| Index: chrome/browser/content_settings/content_settings_default_provider.cc
|
| diff --git a/chrome/browser/content_settings/content_settings_default_provider.cc b/chrome/browser/content_settings/content_settings_default_provider.cc
|
| index 02ecfb465afd4ef8ad7ffe5e19f6ee9753625675..dc3876cf6aa28c989ca92645d6a925516373d625 100644
|
| --- a/chrome/browser/content_settings/content_settings_default_provider.cc
|
| +++ b/chrome/browser/content_settings/content_settings_default_provider.cc
|
| @@ -44,6 +44,7 @@ const ContentSetting kDefaultSettings[] = {
|
| CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_FULLSCREEN
|
| CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_MOUSELOCK
|
| CONTENT_SETTING_DEFAULT, // CONTENT_SETTINGS_TYPE_MIXEDSCRIPT
|
| + CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_MEDIASTREAM
|
| };
|
| COMPILE_ASSERT(arraysize(kDefaultSettings) == CONTENT_SETTINGS_NUM_TYPES,
|
| default_settings_incorrect_size);
|
| @@ -158,6 +159,11 @@ DefaultProvider::DefaultProvider(PrefService* prefs, bool incognito)
|
| ValueToContentSetting(
|
| default_settings_[CONTENT_SETTINGS_TYPE_MOUSELOCK].get()),
|
| CONTENT_SETTING_NUM_SETTINGS);
|
| + UMA_HISTOGRAM_ENUMERATION(
|
| + "ContentSettings.DefaultMediaStreamSetting",
|
| + ValueToContentSetting(
|
| + default_settings_[CONTENT_SETTINGS_TYPE_MEDIASTREAM].get()),
|
| + CONTENT_SETTING_NUM_SETTINGS);
|
|
|
| pref_change_registrar_.Init(prefs_);
|
| pref_change_registrar_.Add(prefs::kDefaultContentSettings, this);
|
|
|