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

Unified Diff: components/content_settings/core/browser/content_settings_default_provider.h

Issue 965103004: Stop using the MEDIASTREAM content setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Migration code added. Created 5 years, 9 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/browser/content_settings_default_provider.h
diff --git a/components/content_settings/core/browser/content_settings_default_provider.h b/components/content_settings/core/browser/content_settings_default_provider.h
index 6679bdc33197915c89ab91919b5453ce395a039e..5e4caabdbc1eca82235bc165682ecc03d5b83a7a 100644
--- a/components/content_settings/core/browser/content_settings_default_provider.h
+++ b/components/content_settings/core/browser/content_settings_default_provider.h
@@ -64,6 +64,10 @@ class DefaultProvider : public ObservableProvider {
// Called on prefs change.
void OnPreferenceChanged(const std::string& pref_name);
+ // Migrates the obsolete media stream default setting to the new microphone
+ // and camera settings.
+ void MigrateObsoleteMediaContentSetting();
+
typedef linked_ptr<base::Value> ValuePtr;
typedef std::map<ContentSettingsType, ValuePtr> ValueMap;
// Copies of the pref data, so that we can read it on the IO thread.

Powered by Google App Engine
This is Rietveld 408576698