Lines Matching refs:local_state_
49 : local_state_(local_state),
74 client_id_ = local_state_->GetString(prefs::kMetricsClientID);
79 local_state_->SetString(prefs::kMetricsClientID, client_id_);
81 if (local_state_->GetString(prefs::kMetricsOldClientID).empty()) {
83 local_state_->SetInt64(prefs::kMetricsReportingEnabledTimestamp,
88 local_state_->ClearPref(prefs::kMetricsOldClientID);
100 cloned_install_detector_->CheckForClonedInstall(local_state_, task_runner);
131 new CachingPermutedEntropyProvider(local_state_,
183 int value = local_state_->GetInteger(prefs::kMetricsLowEntropySource);
195 local_state_->SetInteger(prefs::kMetricsLowEntropySource,
197 local_state_->ClearPref(prefs::kMetricsOldLowEntropySource);
198 CachingPermutedEntropyProvider::ClearCache(local_state_);
204 if (!local_state_->GetBoolean(prefs::kMetricsResetIds))
212 local_state_->ClearPref(prefs::kMetricsClientID);
213 local_state_->ClearPref(prefs::kMetricsLowEntropySource);
214 local_state_->ClearPref(prefs::kMetricsResetIds);