Lines Matching refs:local_state_
33 : local_state_(local_state) {
52 local_state_->GetInteger(prefs::kStabilityLaunchedActivityFlags);
53 ListPrefUpdate update_launches(local_state_,
62 local_state_->SetInteger(prefs::kStabilityLaunchedActivityFlags, 0);
68 local_state_->GetInteger(prefs::kStabilityForegroundActivityType);
70 ListPrefUpdate update_crashes(local_state_,
74 local_state_->SetInteger(prefs::kStabilityForegroundActivityType,
78 local_state_->CommitPendingWrite();
82 ListPrefUpdate launch_updater(local_state_,
84 ListPrefUpdate crash_updater(local_state_,
121 if (type == local_state_->GetInteger(prefs::kStabilityForegroundActivityType))
125 local_state_->SetInteger(prefs::kStabilityForegroundActivityType, type);
131 local_state_->GetInteger(prefs::kStabilityLaunchedActivityFlags);
134 local_state_->SetInteger(prefs::kStabilityLaunchedActivityFlags, launched);
137 local_state_->CommitPendingWrite();