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

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

Issue 2428433002: Delete fullscreen/mouselock pref data. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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 f4f234695cac0af7bac48c25d3767bf216419226..8970258b28f892a70e997657d3ed5ad10c415aab 100644
--- a/components/content_settings/core/browser/content_settings_default_provider.h
+++ b/components/content_settings/core/browser/content_settings_default_provider.h
@@ -72,6 +72,9 @@ class DefaultProvider : public ObservableProvider {
// Called on prefs change.
void OnPreferenceChanged(const std::string& pref_name);
+ // Clean up the obsolete preferences from the user's profile.
+ void DiscardObsoletePreferences();
+
// Copies of the pref data, so that we can read it on the IO thread.
std::map<ContentSettingsType, std::unique_ptr<base::Value>> default_settings_;

Powered by Google App Engine
This is Rietveld 408576698