HomeSort by relevance Sort by last modified time
    Searched refs:pref_key (Results 1 - 25 of 26) 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 ChromeDirectSettingAPI::Get(profile())->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 ChromeDirectSettingAPI::Get(profile())->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 301 const std::string& pref_key,
306 extension_prefs()->pref_service()->FindPreference(pref_key.c_str());
307 DCHECK(pref) << "Extension controlled preference key " << pref_key
310 << "Extension controlled preference " << pref_key << " has wrong type.";
324 preference->SetWithoutPathExpansion(pref_key, value->DeepCopy());
327 extension_id, pref_key, scope, value);
332 const std::string& pref_key,
334 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str()))
335 << "Extension controlled preference key " << pref_key
345 preference->RemoveWithoutPathExpansion(pref_key, NULL)
554 std::string pref_key; local
615 std::string pref_key; local
702 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 21 // Reads a boolean pref |pref_key| from extension with id |extension_id|.
23 const std::string& pref_key,
26 // Reads an integer pref |pref_key| from extension with id |extension_id|.
28 const std::string& pref_key,
31 // Reads a string pref |pref_key| from extension with id |extension_id|.
33 const std::string& pref_key,
36 // Reads a list pref |pref_key| from extension with id |extension_id|.
38 const std::string& pref_key,
41 // Reads a dictionary pref |pref_key| from extension with id |extension_id|.
44 const std::string& pref_key,
    [all...]
extension_pref_value_map.h 103 const std::string& pref_key,
119 const std::string& pref_key,
extension_prefs.h 213 const std::string& pref_key,
217 const std::string& pref_key,
221 const std::string& pref_key,
225 const std::string& pref_key,
230 const std::string& pref_key,
447 // for |pref_key| *and* it is specific to incognito mode.
448 bool HasIncognitoPrefValue(const std::string& pref_key);
530 // Interprets the list pref, |pref_key| in |extension_id|'s preferences, as a
533 const std::string& pref_key,
537 // Converts |new_value| to a list of strings and sets the |pref_key| pre
    [all...]
extension_prefs.cc 442 const std::string& pref_key,
445 if (!ext || !ext->GetBoolean(pref_key, out_value))
452 const std::string& pref_key,
455 if (!ext || !ext->GetInteger(pref_key, out_value))
462 const std::string& pref_key,
465 if (!ext || !ext->GetString(pref_key, out_value))
472 const std::string& pref_key,
476 if (!ext || !ext->GetList(pref_key, &out))
486 const std::string& pref_key,
490 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);
  /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 146 const std::string& pref_key) {
152 size_t prop_index = content.find(pref_key + "=");
156 size_t start = prop_index + pref_key.length();
163 LOG(WARNING) << "Firefox property " << pref_key << " could not be parsed.";
171 const std::string& pref_key) {
176 return GetPrefsJsValue(content, pref_key);
214 const std::string& pref_key) {
216 std::string search_for = std::string("user_pref(\"") + pref_key +
232 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),
  /external/chromium_org/chrome/browser/content_settings/
content_settings_pref_provider.cc 54 // returns true and sets |pref_key| to the key in the content settings
58 std::string* pref_key) {
60 *pref_key = kPerPluginPrefName;
  /external/chromium_org/chrome/browser/ui/ash/launcher/
chrome_launcher_controller_per_browser.cc 161 const char* pref_key,
174 prefs->SetStringWithoutPathExpansion(pref_key, value);
202 std::string pref_key = GetPrefKeyForRootWindow(root_window);
204 if (!pref_key.empty()) {
209 if (shelf_prefs->GetDictionary(pref_key, &display_pref) &&
    [all...]

Completed in 661 milliseconds

1 2