HomeSort by relevance Sort by last modified time
    Searched refs:pref_key (Results 1 - 25 of 27) sorted by null

1 2

  /external/chromium_org/chrome/browser/extensions/api/preference/
chrome_direct_setting.cc 35 std::string pref_key; local
36 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &pref_key));
38 ->IsPreferenceOnWhitelist(pref_key));
41 GetPrefService()->FindPreference(pref_key.c_str());
59 std::string pref_key; local
60 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &pref_key));
62 ->IsPreferenceOnWhitelist(pref_key));
73 pref_service->FindPreference(pref_key.c_str());
78 pref_service->Set(pref_key.c_str(), *value);
90 std::string pref_key; local
    [all...]
chrome_direct_setting_api.h 34 bool IsPreferenceOnWhitelist(const std::string& pref_key);
45 void OnPrefChanged(PrefService* pref_service, const std::string& pref_key);
chrome_direct_setting_api.cc 31 bool IsPreferenceOnWhitelist(const std::string& pref_key){
32 return whitelist_.find(pref_key) != whitelist_.end();
57 const char* pref_key = (*iter).c_str(); local
60 pref_key);
61 registrar->Add(pref_key, callback);
106 const std::string& pref_key) {
107 return preference_whitelist.Get().IsPreferenceOnWhitelist(pref_key);
121 PrefService* pref_service, const std::string& pref_key) {
123 pref_key.c_str());
127 profile_->GetPrefs()->FindPreference(pref_key.c_str())
    [all...]
preference_api.h 35 const std::string& pref_key);
61 const std::string& pref_key,
67 const std::string& pref_key,
73 const std::string& pref_key,
82 const std::string& pref_key,
preference_api.cc 300 const std::string& pref_key,
305 extension_prefs()->pref_service()->FindPreference(pref_key.c_str());
306 DCHECK(pref) << "Extension controlled preference key " << pref_key
309 << "Extension controlled preference " << pref_key << " has wrong type.";
323 preference->SetWithoutPathExpansion(pref_key, value->DeepCopy());
326 extension_id, pref_key, scope, value);
331 const std::string& pref_key,
333 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str()))
334 << "Extension controlled preference key " << pref_key
344 preference->RemoveWithoutPathExpansion(pref_key, NULL)
553 std::string pref_key; local
613 std::string pref_key; local
697 std::string pref_key; local
    [all...]
  /external/chromium_org/chrome/browser/mac/
keychain_reauthorize.h 31 // pref_key is looked up in the system's standard user defaults (preferences)
47 void KeychainReauthorizeIfNeeded(NSString* pref_key, int max_tries);
  /external/chromium_org/chrome/browser/extensions/
extension_scoped_prefs.h 23 // Reads a boolean pref |pref_key| from extension with id |extension_id|.
25 const std::string& pref_key,
28 // Reads an integer pref |pref_key| from extension with id |extension_id|.
30 const std::string& pref_key,
33 // Reads a string pref |pref_key| from extension with id |extension_id|.
35 const std::string& pref_key,
38 // Reads a list pref |pref_key| from extension with id |extension_id|.
40 const std::string& pref_key,
43 // Reads a dictionary pref |pref_key| from extension with id |extension_id|.
46 const std::string& pref_key,
    [all...]
extension_pref_value_map.h 103 const std::string& pref_key,
119 const std::string& pref_key,
125 std::string GetExtensionControllingPref(const std::string& pref_key) const;
extension_prefs.h 204 const std::string& pref_key,
208 const std::string& pref_key,
212 const std::string& pref_key,
216 const std::string& pref_key,
221 const std::string& pref_key,
436 // for |pref_key| *and* it is specific to incognito mode.
437 bool HasIncognitoPrefValue(const std::string& pref_key);
528 // Interprets the list pref, |pref_key| in |extension_id|'s preferences, as a
531 const std::string& pref_key,
535 // Converts |new_value| to a list of strings and sets the |pref_key| pre
    [all...]
extension_prefs.cc 431 const std::string& pref_key,
434 if (!ext || !ext->GetBoolean(pref_key, out_value))
441 const std::string& pref_key,
444 if (!ext || !ext->GetInteger(pref_key, out_value))
451 const std::string& pref_key,
454 if (!ext || !ext->GetString(pref_key, out_value))
461 const std::string& pref_key,
465 if (!ext || !ext->GetList(pref_key, &out))
475 const std::string& pref_key,
479 if (!ext || !ext->GetDictionary(pref_key, &out)
    [all...]
extension_pref_value_map.cc 69 const std::string& pref_key,
78 GetEffectivePrefValueController(pref_key, incognito, NULL);
106 const std::string& pref_key,
110 GetEffectivePrefValueController(pref_key, incognito, from_incognito);
348 const std::string& pref_key) const {
350 GetEffectivePrefValueController(pref_key, false, NULL);
  /external/chromium_org/chrome/browser/extensions/api/settings_overrides/
settings_overrides_api.h 37 const std::string& pref_key,
40 const std::string& pref_key);
settings_overrides_api.cc 91 const std::string& pref_key,
95 pref_key,
101 const std::string& pref_key) {
104 pref_key,
  /external/chromium/chrome/browser/extensions/
extension_prefs.h 304 const std::string& pref_key,
309 const std::string& pref_key,
315 const std::string& pref_key,
321 const std::string& pref_key,
325 // for |pref_key| *and* it is specific to incognito mode.
326 bool HasIncognitoPrefValue(const std::string& pref_key);
355 // Reads a boolean pref from |ext| with key |pref_key|.
356 // Return false if the value is false or |pref_key| does not exist.
358 const std::string& pref_key);
360 // Reads a boolean pref |pref_key| from extension with id |extension_id|
    [all...]
extension_preference_api.cc 217 const std::string* pref_key = local
219 OnPrefChanged(Source<PrefService>(source).ptr(), *pref_key);
289 std::string pref_key; local
290 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &pref_key));
309 pref_key, &browser_pref, &permission));
311 error_ = base::StringPrintf(kPermissionErrorMessage, pref_key.c_str());
339 std::string pref_key; local
340 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &pref_key));
360 pref_key, &browser_pref, &permission));
362 error_ = base::StringPrintf(kPermissionErrorMessage, pref_key.c_str())
388 std::string pref_key; local
    [all...]
extension_preference_api.h 26 void OnPrefChanged(PrefService* pref_service, const std::string& pref_key);
extension_pref_value_map.h 88 const std::string& pref_key,
98 const std::string& pref_key,
extension_prefs.cc 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)
    [all...]
extension_pref_value_map.cc 51 const std::string& pref_key,
60 GetEffectivePrefValueController(pref_key, incognito, NULL);
69 const std::string& pref_key,
72 GetEffectivePrefValueController(pref_key, incognito, NULL);
  /external/chromium_org/chrome/common/importer/
firefox_importer_utils.cc 145 const std::string& pref_key) {
151 size_t prop_index = content.find(pref_key + "=");
155 size_t start = prop_index + pref_key.length();
162 LOG(WARNING) << "Firefox property " << pref_key << " could not be parsed.";
170 const std::string& pref_key) {
175 return GetPrefsJsValue(content, pref_key);
213 const std::string& pref_key) {
215 std::string search_for = std::string("user_pref(\"") + pref_key +
231 LOG(WARNING) << "Firefox property " << pref_key << " could not be parsed.";
firefox_importer_utils.h 86 const std::string& pref_key);
  /external/chromium/chrome/browser/importer/
firefox_importer_utils.h 101 const std::string& pref_key);
firefox_importer_utils.cc 259 const std::string& pref_key) {
265 size_t prop_index = content.find(pref_key + "=");
269 size_t start = prop_index + pref_key.length();
276 LOG(WARNING) << "Firefox property " << pref_key << " could not be parsed.";
284 const std::string& pref_key) {
289 return GetPrefsJsValue(content, pref_key);
435 const std::string& pref_key) {
437 std::string search_for = std::string("user_pref(\"") + pref_key +
453 LOG(WARNING) << "Firefox property " << pref_key << " could not be parsed.";
  /external/chromium/chrome/browser/instant/
promo_counter.h 21 // Creates a new PromoCounter. |pref_key| is used to store prefs related to
27 const std::string& pref_key,
promo_counter.cc 23 const std::string& pref_key,
28 pref_key_(pref_key),

Completed in 458 milliseconds

1 2