| Index: base/prefs/pref_service.cc
|
| diff --git a/base/prefs/pref_service.cc b/base/prefs/pref_service.cc
|
| index 046af915b33c832d6da5a7588e930c49946cccc8..8c1183f052ba3a1bd9b9e6894f448b7363ef342c 100644
|
| --- a/base/prefs/pref_service.cc
|
| +++ b/base/prefs/pref_service.cc
|
| @@ -189,6 +189,19 @@ base::DictionaryValue* PrefService::GetPreferenceValues() const {
|
| return out;
|
| }
|
|
|
| +base::DictionaryValue* PrefService::GetPreferenceValuesWithoutPathExpansion()
|
| + const {
|
| + DCHECK(CalledOnValidThread());
|
| + base::DictionaryValue* out = new base::DictionaryValue;
|
| + PrefRegistry::const_iterator i = pref_registry_->begin();
|
| + for (; i != pref_registry_->end(); ++i) {
|
| + const base::Value* value = GetPreferenceValue(i->first);
|
| + DCHECK(value);
|
| + out->SetWithoutPathExpansion(i->first, value->DeepCopy());
|
| + }
|
| + return out;
|
| +}
|
| +
|
| const PrefService::Preference* PrefService::FindPreference(
|
| const char* pref_name) const {
|
| DCHECK(CalledOnValidThread());
|
|
|