Index: components/prefs/pref_value_map.cc |
diff --git a/components/prefs/pref_value_map.cc b/components/prefs/pref_value_map.cc |
index 1d120a8fbd94ba7d942422824b353af52bcdbd52..dcafe373ee97a399df0170215b84fbd69c61fb1f 100644 |
--- a/components/prefs/pref_value_map.cc |
+++ b/components/prefs/pref_value_map.cc |
@@ -18,18 +18,29 @@ PrefValueMap::~PrefValueMap() {} |
bool PrefValueMap::GetValue(const std::string& key, |
const base::Value** value) const { |
+ if (!key.compare("settings.display.properties")) { |
+ LOG(ERROR) << "PrefValueMap::GetValue 1 key: "<< key; |
+ for (auto it = prefs_.begin(); it != prefs_.end(); ++it) |
+ LOG(ERROR) << "PrefValueMap key: " << it->first; |
+ } |
auto it = prefs_.find(key); |
if (it == prefs_.end()) |
return false; |
+ if (!key.compare("settings.display.properties")) |
+ LOG(ERROR) << "PrefValueMap::GetValue 2 key: "<< key; |
const base::Value* got_value = it->second.get(); |
if (value && got_value) |
*value = got_value; |
+ if (!key.compare("settings.display.properties")) |
+ LOG(ERROR) << "PrefValueMap::GetValue 3 key: "<< key; |
return !!got_value; |
} |
bool PrefValueMap::GetValue(const std::string& key, base::Value** value) { |
+ if (!key.compare("settings.display.properties")) |
+ LOG(ERROR) << "PrefValueMap::GetValue key: "<< key; |
auto it = prefs_.find(key); |
if (it == prefs_.end()) |
return false; |