Home | History | Annotate | Download | only in extensions

Lines Matching refs:pref_key

358     const DictionaryValue* ext, const std::string& pref_key) {
360 if (!ext->GetBoolean(pref_key, &bool_value))
367 const std::string& extension_id, const std::string& pref_key) {
373 return ReadBooleanFromPref(ext, pref_key);
377 const DictionaryValue* ext, const std::string& pref_key, int* out_value) {
378 if (!ext->GetInteger(pref_key, out_value))
385 const std::string& extension_id, const std::string& pref_key,
392 return ReadIntegerFromPref(ext, pref_key, out_value);
396 const std::string& extension_id, const std::string& pref_key,
400 if (!ext || !ext->GetList(pref_key, &out))
409 const std::string& pref_key,
412 if (!ReadExtensionPrefList(extension_id, pref_key, &value))
429 const std::string& pref_key,
433 ReadExtensionPrefStringSet(extension_id, pref_key, &old_value);
444 UpdateExtensionPref(extension_id, pref_key, value);
1470 const std::string& pref_key,
1475 pref_service()->FindPreference(pref_key.c_str());
1476 DCHECK(pref) << "Extension controlled preference key " << pref_key
1479 << "Extension controlled preference " << pref_key << " has wrong type.";
1487 dict->SetWithoutPathExpansion(pref_key, value->DeepCopy());
1492 extension_id, pref_key, incognito, value);
1497 const std::string& pref_key,
1499 DCHECK(pref_service()->FindPreference(pref_key.c_str()))
1500 << "Extension controlled preference key " << pref_key
1508 dict->RemoveWithoutPathExpansion(pref_key, NULL);
1513 extension_id, pref_key, incognito);
1517 const std::string& pref_key,
1519 DCHECK(pref_service()->FindPreference(pref_key.c_str()))
1520 << "Extension controlled preference key " << pref_key
1524 pref_key,
1529 const std::string& pref_key,
1531 DCHECK(pref_service()->FindPreference(pref_key.c_str()))
1532 << "Extension controlled preference key " << pref_key
1536 pref_key,
1540 bool ExtensionPrefs::HasIncognitoPrefValue(const std::string& pref_key) {
1542 extension_pref_value_map_->GetEffectivePrefValue(pref_key,