Index: sync/engine/all_status.cc |
diff --git a/sync/engine/all_status.cc b/sync/engine/all_status.cc |
index 3df6c29ff172715cedcac956e124453f20226728..afbd6f121bb5bc0f7bfd25ced15e2bc6233e694e 100644 |
--- a/sync/engine/all_status.cc |
+++ b/sync/engine/all_status.cc |
@@ -154,6 +154,21 @@ void AllStatus::SetCryptoHasPendingKeys(bool has_pending_keys) { |
status_.crypto_has_pending_keys = has_pending_keys; |
} |
+void AllStatus::SetPassphraseType(const std::string& type) { |
+ ScopedStatusLock lock(this); |
+ status_.passphrase_type = type; |
+} |
+ |
+void AllStatus::SetHasKeystoreKey(bool has_keystore_key) { |
+ ScopedStatusLock lock(this); |
+ status_.has_keystore_key = has_keystore_key; |
+} |
+ |
+void AllStatus::SetKeystoreMigrationTime(const std::string& migration_time) { |
+ ScopedStatusLock lock(this); |
+ status_.keystore_migration_time = migration_time; |
+} |
+ |
void AllStatus::SetUniqueId(const std::string& guid) { |
ScopedStatusLock lock(this); |
status_.unique_id = guid; |