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

  /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 39 bool IsPreferenceOnWhitelist(const std::string& pref_key);
50 void OnPrefChanged(PrefService* pref_service, const std::string& pref_key);
chrome_direct_setting_api.cc 32 bool IsPreferenceOnWhitelist(const std::string& pref_key){
33 return whitelist_.find(pref_key) != whitelist_.end();
56 const char* pref_key = (*iter).c_str(); local
59 pref_key);
60 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 36 const std::string& pref_key);
62 const std::string& pref_key,
68 const std::string& pref_key,
74 const std::string& pref_key,
83 const std::string& pref_key,
preference_api.cc 368 const std::string& pref_key,
373 extension_prefs()->pref_service()->FindPreference(pref_key.c_str());
374 DCHECK(pref) << "Extension controlled preference key " << pref_key
377 << "Extension controlled preference " << pref_key << " has wrong type.";
391 preference->SetWithoutPathExpansion(pref_key, value->DeepCopy());
394 extension_id, pref_key, scope, value);
399 const std::string& pref_key,
401 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str()))
402 << "Extension controlled preference key " << pref_key
412 preference->RemoveWithoutPathExpansion(pref_key, NULL)
560 std::string pref_key; local
622 std::string pref_key; local
708 std::string pref_key; local
    [all...]
  /external/chromium_org/extensions/browser/
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 104 const std::string& pref_key,
120 const std::string& pref_key,
127 std::string GetExtensionControllingPref(const std::string& pref_key) const;
extension_prefs.h 229 const std::string& pref_key,
233 const std::string& pref_key,
237 const std::string& pref_key,
241 const std::string& pref_key,
246 const std::string& pref_key,
487 // for |pref_key| *and* it is specific to incognito mode.
488 bool HasIncognitoPrefValue(const std::string& pref_key);
594 // Interprets the list pref, |pref_key| in |extension_id|'s preferences, as a
597 const std::string& pref_key,
601 // Converts |new_value| to a list of strings and sets the |pref_key| pre
    [all...]
extension_pref_value_map.cc 71 const std::string& pref_key,
83 GetEffectivePrefValueController(pref_key, incognito, NULL);
111 const std::string& pref_key,
115 GetEffectivePrefValueController(pref_key, incognito, from_incognito);
375 const std::string& pref_key) const {
377 GetEffectivePrefValueController(pref_key, false, NULL);
extension_prefs.cc 481 const std::string& pref_key,
484 if (!ext || !ext->GetBoolean(pref_key, out_value))
491 const std::string& pref_key,
494 if (!ext || !ext->GetInteger(pref_key, out_value))
501 const std::string& pref_key,
504 if (!ext || !ext->GetString(pref_key, out_value))
511 const std::string& pref_key,
515 if (!ext || !ext->GetList(pref_key, &out))
525 const std::string& pref_key,
529 if (!ext || !ext->GetDictionary(pref_key, &out)
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/settings_overrides/
settings_overrides_api.h 39 const std::string& pref_key,
42 const std::string& pref_key);
settings_overrides_api.cc 141 const std::string& pref_key,
147 pref_key,
153 const std::string& pref_key) {
159 pref_key,
  /external/chromium_org/chrome/common/importer/
firefox_importer_utils.cc 188 const std::string& pref_key) {
194 size_t prop_index = content.find(pref_key + "=");
198 size_t start = prop_index + pref_key.length();
205 LOG(WARNING) << "Firefox property " << pref_key << " could not be parsed.";
213 const std::string& pref_key) {
218 return GetPrefsJsValue(content, pref_key);
256 const std::string& pref_key) {
258 std::string search_for = std::string("user_pref(\"") + pref_key +
274 LOG(WARNING) << "Firefox property " << pref_key << " could not be parsed.";
firefox_importer_utils.h 86 const std::string& pref_key);
  /external/chromium_org/chrome/browser/content_settings/
content_settings_pref_provider.cc 55 // returns true and sets |pref_key| to the key in the content settings
59 std::string* pref_key) {
61 *pref_key = kPerPluginPrefName;
  /external/chromium_org/chrome/browser/ui/ash/launcher/
chrome_launcher_controller.cc 125 const char* pref_key,
138 prefs->SetStringWithoutPathExpansion(pref_key, value);
166 std::string pref_key = GetPrefKeyForRootWindow(root_window);
168 if (!pref_key.empty()) {
173 if (shelf_prefs->GetDictionary(pref_key, &display_pref) &&
    [all...]

Completed in 1655 milliseconds