| 275 | } |
| 276 | |
| 277 | void StatestoreSubscriber::AddCompleteRegistrationTopic( |
| 278 | const CompleteRegistrationCallback& callback) { |
| 279 | statestore_->AddCompleteRegistrationTopic(callback); |
| 280 | if (statestore2_ != nullptr) { |
| 281 | statestore2_->AddCompleteRegistrationTopic(callback); |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | bool StatestoreSubscriber::IsInPostRecoveryGracePeriod() { |
| 286 | StatestoreStub* active_statestore = GetActiveStatestore(); |