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

Unified Diff: chrome/browser/extensions/extension_prefs.cc

Issue 5441002: Clean up pref change notification handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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: chrome/browser/extensions/extension_prefs.cc
diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc
index 07195e42e189765006377726e936e68b8426f145..653d2cd4ad9ab4a150b4218752793dba5825bf4c 100644
--- a/chrome/browser/extensions/extension_prefs.cc
+++ b/chrome/browser/extensions/extension_prefs.cc
@@ -326,7 +326,7 @@ void ExtensionPrefs::AddToExtensionPrefStringSet(
void ExtensionPrefs::SavePrefsAndNotify() {
prefs_->ScheduleSavePersistentPrefs();
- prefs_->pref_notifier()->OnUserPreferenceSet(kExtensionsPref);
+ prefs_->pref_notifier()->OnPreferenceChanged(kExtensionsPref);
battre (please use the other) 2010/12/02 10:41:19 OnPreferenceChanged has the connotation that the p
Mattias Nissler (ping if slow) 2010/12/02 16:38:24 You are right, that is not the case. However, the
}
bool ExtensionPrefs::IsBlacklistBitSet(DictionaryValue* ext) {

Powered by Google App Engine
This is Rietveld 408576698