Commit e265f2fc authored by Aleksei Loshkarev's avatar Aleksei Loshkarev Committed by Commit Bot

Adds notification on passphrase type change

Now we have notifications for all sync service crypto state changes
except changes of passphrase type.

This CL makes all things the same.

Change-Id: Idd9cf978f9bfb6b8a45ac1891b815d42af834890
Reviewed-on: https://chromium-review.googlesource.com/1109968Reviewed-by: default avatarMikel Astiz <mastiz@chromium.org>
Commit-Queue: Aleksei Loshkarev <lixan@yandex-team.ru>
Cr-Commit-Position: refs/heads/master@{#569564}
parent a647c750
......@@ -344,6 +344,7 @@ void SyncServiceCrypto::OnPassphraseTypeChanged(PassphraseType type,
DVLOG(1) << "Passphrase type changed to " << PassphraseTypeToString(type);
cached_passphrase_type_ = type;
cached_explicit_passphrase_time_ = passphrase_time;
notify_observers_.Run();
}
void SyncServiceCrypto::OnLocalSetPassphraseEncryption(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment