Lines Matching refs:prefs_
160 prefs_->ClearPref(prefs::kNTPPromoResourceCacheUpdate);
166 double promo_start = prefs_->GetDouble(prefs::kNTPPromoStart);
167 double promo_end = prefs_->GetDouble(prefs::kNTPPromoEnd);
192 if (prefs_->HasPrefPath(prefs::kNTPPromoStart) &&
193 prefs_->HasPrefPath(prefs::kNTPPromoEnd)) {
194 old_promo_start = prefs_->GetDouble(prefs::kNTPPromoStart);
195 old_promo_end = prefs_->GetDouble(prefs::kNTPPromoEnd);
227 prefs_->SetInteger(prefs::kNTPPromoBuild, promo_build_type);
228 prefs_->SetInteger(prefs::kNTPPromoGroupTimeSlice,
232 prefs_->SetInteger(prefs::kNTPPromoBuild, NO_BUILD);
233 prefs_->SetInteger(prefs::kNTPPromoGroupTimeSlice, 0);
237 prefs_->SetString(prefs::kNTPPromoLine, promo_string);
239 prefs_->SetInteger(prefs::kNTPPromoGroup,
258 (prefs_->FindPreference(prefs::kNTPPromoGroup) ?
259 prefs_->GetInteger(prefs::kNTPPromoGroup) *
274 prefs_->SetDouble(prefs::kNTPPromoStart, promo_start);
275 prefs_->SetDouble(prefs::kNTPPromoEnd, promo_end);
276 prefs_->SetBoolean(prefs::kNTPPromoClosed, false);
357 if (prefs_->HasPrefPath(prefs::kNTPCustomLogoStart) &&
358 prefs_->HasPrefPath(prefs::kNTPCustomLogoEnd)) {
359 old_logo_start = prefs_->GetDouble(prefs::kNTPCustomLogoStart);
360 old_logo_end = prefs_->GetDouble(prefs::kNTPCustomLogoEnd);
406 prefs_->SetDouble(prefs::kNTPCustomLogoStart, logo_start);
407 prefs_->SetDouble(prefs::kNTPCustomLogoEnd, logo_end);