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

Unified Diff: components/prefs/pref_registry.cc

Issue 2760453003: Work In Progess
Patch Set: convert local_state to use pre_client_store_ Created 3 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
« no previous file with comments | « components/prefs/default_pref_store.cc ('k') | components/prefs/pref_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/pref_registry.cc
diff --git a/components/prefs/pref_registry.cc b/components/prefs/pref_registry.cc
index 63b5e6a823eb0ace7a7280aae3efb36bc3ece547..529fab6fbc2051022bb74b5c4096f66b061e6f32 100644
--- a/components/prefs/pref_registry.cc
+++ b/components/prefs/pref_registry.cc
@@ -65,4 +65,8 @@ void PrefRegistry::RegisterPreference(const std::string& path,
defaults_->SetDefaultValue(path, base::WrapUnique(default_value));
if (flags != NO_REGISTRATION_FLAGS)
registration_flags_[path] = flags;
+ LOG(ERROR) << "PrefRegistry::RegisterPreference path: " << path;
+ if (!path.compare("settings.display.properties")) {
+ LOG(ERROR) << path << "- matched defaults_->GetValue(path, NULL)" << defaults_->GetValue(path, NULL);
+ }
}
« no previous file with comments | « components/prefs/default_pref_store.cc ('k') | components/prefs/pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698