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

Unified Diff: chrome/browser/prefs/pref_notifier.cc

Issue 3323022: Create a DefaultPrefStore to hold registered application-default preference v... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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: chrome/browser/prefs/pref_notifier.cc
===================================================================
--- chrome/browser/prefs/pref_notifier.cc (revision 59196)
+++ chrome/browser/prefs/pref_notifier.cc (working copy)
@@ -38,15 +38,13 @@
}
void PrefNotifier::OnPreferenceSet(const char* pref_name,
- PrefNotifier::PrefStoreType new_store,
- const Value* old_value) {
- if (pref_value_store_->PrefHasChanged(pref_name, new_store, old_value))
+ PrefNotifier::PrefStoreType new_store) {
+ if (pref_value_store_->PrefHasChanged(pref_name, new_store))
FireObservers(pref_name);
}
-void PrefNotifier::OnUserPreferenceSet(const char* pref_name,
- const Value* old_value) {
- OnPreferenceSet(pref_name, PrefNotifier::USER_STORE, old_value);
+void PrefNotifier::OnUserPreferenceSet(const char* pref_name) {
+ OnPreferenceSet(pref_name, PrefNotifier::USER_STORE);
}
void PrefNotifier::FireObservers(const char* path) {

Powered by Google App Engine
This is Rietveld 408576698