Home | History | Annotate | Download | only in update_engine

Lines Matching full:prefs_key

166 // |arg_name| and |prefs_key|, if any. The return value is suitable to
170 const string prefs_key) {
173 if (!prefs->Exists(prefs_key))
176 if (!prefs->GetString(prefs_key, &cohort_value) || cohort_value.empty())
1371 const string& prefs_key,
1373 if (new_value.empty() && system_state_->prefs()->Exists(prefs_key)) {
1374 LOG(INFO) << "Removing stored " << prefs_key << " value.";
1375 return system_state_->prefs()->Delete(prefs_key);
1377 LOG(INFO) << "Storing new setting " << prefs_key << " as " << new_value;
1378 return system_state_->prefs()->SetString(prefs_key, new_value);