| Index: components/content_settings/core/browser/content_settings_policy_provider.cc
|
| diff --git a/components/content_settings/core/browser/content_settings_policy_provider.cc b/components/content_settings/core/browser/content_settings_policy_provider.cc
|
| index 9711640657a6a9fec82c80f3cfd77c833a22483a..445a4ad817acb9dc3245632123203392d074ecd2 100644
|
| --- a/components/content_settings/core/browser/content_settings_policy_provider.cc
|
| +++ b/components/content_settings/core/browser/content_settings_policy_provider.cc
|
| @@ -32,9 +32,9 @@ const char* kPrefToManageType[] = {
|
| NULL, // No policy for default value of fullscreen requests
|
| NULL, // No policy for default value of mouse lock requests
|
| NULL, // No policy for default value of mixed script blocking
|
| + NULL, // The MEDIASTREAM setting is deprecated
|
| + prefs::kManagedDefaultMediaStreamSetting,
|
| prefs::kManagedDefaultMediaStreamSetting,
|
| - NULL, // No policy for default value of media stream mic
|
| - NULL, // No policy for default value of media stream camera
|
| NULL, // No policy for default value of protocol handlers
|
| NULL, // No policy for default value of PPAPI broker
|
| NULL, // No policy for default value of multiple automatic downloads
|
| @@ -466,7 +466,8 @@ void PolicyProvider::OnPreferenceChanged(const std::string& name) {
|
| } else if (name == prefs::kManagedDefaultNotificationsSetting) {
|
| UpdateManagedDefaultSetting(CONTENT_SETTINGS_TYPE_NOTIFICATIONS);
|
| } else if (name == prefs::kManagedDefaultMediaStreamSetting) {
|
| - UpdateManagedDefaultSetting(CONTENT_SETTINGS_TYPE_MEDIASTREAM);
|
| + UpdateManagedDefaultSetting(CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC);
|
| + UpdateManagedDefaultSetting(CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA);
|
| } else if (name == prefs::kManagedAutoSelectCertificateForUrls ||
|
| name == prefs::kManagedCookiesAllowedForUrls ||
|
| name == prefs::kManagedCookiesBlockedForUrls ||
|
|
|