Lines Matching refs:prefs_
66 // Remove the preferences found in the map from |prefs_|. Returns true if any
94 // Make sure that the |path| if present in |prefs_|. If not, set it to
101 // map entries from |prefs_|.
106 // respective values in |prefs_|.
124 PrefValueMap prefs_;
297 if (!prefs_.GetValue(key, &stored_value))
312 prefs_.GetDifferingKeys(&other->prefs_, differing_prefs);
346 if (prefs_.RemoveValue(map[i].preference_path))
363 prefs_.SetValue(map[current].preference_path, value);
394 prefs_.SetValue(prefs::kSyncManaged, value);
407 prefs_
426 prefs_.SetValue(prefs::kDownloadDefaultDirectory,
428 prefs_.SetValue(prefs::kPromptForDownload,
440 if (!prefs_.GetString(path, &value))
441 prefs_.SetString(path, value);
471 if (prefs_.GetBoolean(prefs::kDefaultSearchProviderEnabled, &enabled) &&
474 prefs_.SetString(prefs::kDefaultSearchProviderName, std::string());
475 prefs_.SetString(prefs::kDefaultSearchProviderSearchURL, std::string());
476 prefs_.SetString(prefs::kDefaultSearchProviderSuggestURL, std::string());
477 prefs_.SetString(prefs::kDefaultSearchProviderIconURL, std::string());
478 prefs_.SetString(prefs::kDefaultSearchProviderEncodings, std::string());
479 prefs_.SetString(prefs::kDefaultSearchProviderKeyword, std::string());
480 prefs_.SetString(prefs::kDefaultSearchProviderInstantURL, std::string());
485 if (prefs_.GetString(prefs::kDefaultSearchProviderSearchURL, &search_url) &&
501 if (!prefs_.GetString(prefs::kDefaultSearchProviderName, &name) ||
503 prefs_.SetString(prefs::kDefaultSearchProviderName,
507 prefs_.SetString(prefs::kDefaultSearchProviderID, std::string());
508 prefs_.SetString(prefs::kDefaultSearchProviderPrepopulateID,
677 prefs_.SetValue(prefs::kProxy, ProxyConfigDictionary::CreateDirect());
680 prefs_.SetValue(prefs::kProxy, ProxyConfigDictionary::CreateAutoDetect());
690 prefs_.SetValue(prefs::kProxy,
705 prefs_.SetValue(prefs::kProxy,
711 prefs_.SetValue(prefs::kProxy,