| Index: sync/internal_api/debug_info_event_listener.cc
|
| diff --git a/sync/internal_api/debug_info_event_listener.cc b/sync/internal_api/debug_info_event_listener.cc
|
| index b5ceaa73ea8639a6a3028430f758112e7cd1fa01..dac5945c126054986418edec607b6d538e889b29 100644
|
| --- a/sync/internal_api/debug_info_event_listener.cc
|
| +++ b/sync/internal_api/debug_info_event_listener.cc
|
| @@ -68,8 +68,13 @@ void DebugInfoEventListener::OnPassphraseAccepted() {
|
| }
|
|
|
| void DebugInfoEventListener::OnBootstrapTokenUpdated(
|
| - const std::string& bootstrap_token) {
|
| - CreateAndAddEvent(sync_pb::DebugEventInfo::BOOTSTRAP_TOKEN_UPDATED);
|
| + const std::string& bootstrap_token, BootstrapTokenType type) {
|
| + if (type == PASSPHRASE_BOOTSTRAP_TOKEN) {
|
| + CreateAndAddEvent(sync_pb::DebugEventInfo::BOOTSTRAP_TOKEN_UPDATED);
|
| + return;
|
| + }
|
| + DCHECK_EQ(type, KEYSTORE_BOOTSTRAP_TOKEN);
|
| + CreateAndAddEvent(sync_pb::DebugEventInfo::KEYSTORE_TOKEN_UPDATED);
|
| }
|
|
|
| void DebugInfoEventListener::OnStopSyncingPermanently() {
|
|
|