Lines Matching full:getprefs
136 pref_sync_managed_.Init(prefs::kSyncManaged, profile_->GetPrefs(), this);
162 !profile_->GetPrefs()->GetBoolean(prefs::kSyncSuppressStart) &&
247 PrefService* pref_service = profile_->GetPrefs();
284 PrefService* pref_service = profile_->GetPrefs();
346 profile_->GetPrefs()->GetInt64(prefs::kSyncLastSyncedTime));
413 return profile_->GetPrefs()->GetBoolean(prefs::kSyncHasSetupCompleted);
417 PrefService* prefs = profile()->GetPrefs();
426 profile_->GetPrefs()->SetInt64(prefs::kSyncLastSyncedTime,
428 profile_->GetPrefs()->ScheduleSavePersistentPrefs();
512 if (profile_->GetPrefs()->GetBoolean(prefs::kSyncSuppressStart)) {
563 profile_->GetPrefs()->SetBoolean(prefs::kSyncSuppressStart, true);
834 PrefService* prefs = profile_->GetPrefs();
851 profile_->GetPrefs()->SetBoolean(prefs::kKeepEverythingSynced,
855 profile_->GetPrefs()->ScheduleSavePersistentPrefs();
893 profile_->GetPrefs()->SetBoolean(pref_name,
896 profile_->GetPrefs()->SetBoolean(prefs::kSyncAutofillProfile,
910 if (profile_->GetPrefs()->GetBoolean(prefs::kKeepEverythingSynced)) {
929 if (profile_->GetPrefs()->GetBoolean(pref_name)) {
1240 if (!profile_->GetPrefs()->GetBoolean(prefs::kSyncSuppressStart))
1290 return profile_ && profile_->GetPrefs()->GetBoolean(prefs::kSyncManaged);