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

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

Issue 965793003: Remove the overwrite parameter from PrefProvider::ReadContentSettingsFromPref (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | components/content_settings/core/browser/content_settings_pref_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/content_settings/core/browser/content_settings_pref_provider.h
diff --git a/components/content_settings/core/browser/content_settings_pref_provider.h b/components/content_settings/core/browser/content_settings_pref_provider.h
index 9d715897c87cc8f80570a854cbac795fe2d55fc4..0727e101837ac745559ccf411a39f428c61dbef4 100644
--- a/components/content_settings/core/browser/content_settings_pref_provider.h
+++ b/components/content_settings/core/browser/content_settings_pref_provider.h
@@ -68,9 +68,8 @@ class PrefProvider : public ObservableProvider {
private:
friend class DeadlockCheckerThread; // For testing.
// Reads all content settings exceptions from the preference and load them
- // into the |value_map_|. The |value_map_| is cleared first if |overwrite| is
- // true.
- void ReadContentSettingsFromPref(bool overwrite);
+ // into the |value_map_|. The |value_map_| is cleared first.
+ void ReadContentSettingsFromPref();
// Callback for changes in the pref with the same name.
void OnContentSettingsPatternPairsChanged();
« no previous file with comments | « no previous file | components/content_settings/core/browser/content_settings_pref_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698