Home
last modified time | relevance | path

Searched refs:pref_key (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_prefs.h304 const std::string& pref_key,
309 const std::string& pref_key,
315 const std::string& pref_key,
321 const std::string& pref_key,
326 bool HasIncognitoPrefValue(const std::string& pref_key);
358 const std::string& pref_key);
362 const std::string& pref_key);
367 const std::string& pref_key,
372 const std::string& pref_key,
377 const std::string& pref_key,
[all …]
Dextension_preference_api.cc217 const std::string* pref_key = in Observe() local
219 OnPrefChanged(Source<PrefService>(source).ptr(), *pref_key); in Observe()
289 std::string pref_key; in RunImpl() local
290 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &pref_key)); in RunImpl()
309 pref_key, &browser_pref, &permission)); in RunImpl()
311 error_ = base::StringPrintf(kPermissionErrorMessage, pref_key.c_str()); in RunImpl()
339 std::string pref_key; in RunImpl() local
340 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &pref_key)); in RunImpl()
360 pref_key, &browser_pref, &permission)); in RunImpl()
362 error_ = base::StringPrintf(kPermissionErrorMessage, pref_key.c_str()); in RunImpl()
[all …]
Dextension_prefs.cc358 const DictionaryValue* ext, const std::string& pref_key) { in ReadBooleanFromPref() argument
360 if (!ext->GetBoolean(pref_key, &bool_value)) in ReadBooleanFromPref()
367 const std::string& extension_id, const std::string& pref_key) { in ReadExtensionPrefBoolean() argument
373 return ReadBooleanFromPref(ext, pref_key); in ReadExtensionPrefBoolean()
377 const DictionaryValue* ext, const std::string& pref_key, int* out_value) { in ReadIntegerFromPref() argument
378 if (!ext->GetInteger(pref_key, out_value)) in ReadIntegerFromPref()
385 const std::string& extension_id, const std::string& pref_key, in ReadExtensionPrefInteger() argument
392 return ReadIntegerFromPref(ext, pref_key, out_value); in ReadExtensionPrefInteger()
396 const std::string& extension_id, const std::string& pref_key, in ReadExtensionPrefList() argument
400 if (!ext || !ext->GetList(pref_key, &out)) in ReadExtensionPrefList()
[all …]
Dextension_pref_value_map.h88 const std::string& pref_key,
98 const std::string& pref_key,
Dextension_pref_value_map.cc51 const std::string& pref_key, in CanExtensionControlPref() argument
60 GetEffectivePrefValueController(pref_key, incognito, NULL); in CanExtensionControlPref()
69 const std::string& pref_key, in DoesExtensionControlPref() argument
72 GetEffectivePrefValueController(pref_key, incognito, NULL); in DoesExtensionControlPref()
Dextension_preference_api.h26 void OnPrefChanged(PrefService* pref_service, const std::string& pref_key);
/external/chromium/chrome/browser/importer/
Dfirefox_importer_utils.cc259 const std::string& pref_key) { in ReadBrowserConfigProp() argument
265 size_t prop_index = content.find(pref_key + "="); in ReadBrowserConfigProp()
269 size_t start = prop_index + pref_key.length(); in ReadBrowserConfigProp()
276 LOG(WARNING) << "Firefox property " << pref_key << " could not be parsed."; in ReadBrowserConfigProp()
284 const std::string& pref_key) { in ReadPrefsJsValue() argument
289 return GetPrefsJsValue(content, pref_key); in ReadPrefsJsValue()
435 const std::string& pref_key) { in GetPrefsJsValue() argument
437 std::string search_for = std::string("user_pref(\"") + pref_key + in GetPrefsJsValue()
453 LOG(WARNING) << "Firefox property " << pref_key << " could not be parsed."; in GetPrefsJsValue()
Dfirefox_importer_utils.h101 const std::string& pref_key);
/external/chromium/chrome/browser/instant/
Dpromo_counter.cc23 const std::string& pref_key, in PromoCounter() argument
28 pref_key_(pref_key), in PromoCounter()
Dpromo_counter.h27 const std::string& pref_key,