Index: components/sync/engine/cycle/sync_cycle_snapshot.cc |
diff --git a/components/sync/engine/cycle/sync_cycle_snapshot.cc b/components/sync/engine/cycle/sync_cycle_snapshot.cc |
index 7b58a91a7c26286105ec97208c81b9c30f8fd09a..3279a74ae405029b008a0b105995ad03dc2c12d4 100644 |
--- a/components/sync/engine/cycle/sync_cycle_snapshot.cc |
+++ b/components/sync/engine/cycle/sync_cycle_snapshot.cc |
@@ -85,8 +85,7 @@ std::unique_ptr<base::DictionaryValue> SyncCycleSnapshot::ToValue() const { |
value->SetInteger("numHierarchyConflicts", num_hierarchy_conflicts_); |
value->SetInteger("numServerConflicts", num_server_conflicts_); |
value->SetInteger("numEntries", num_entries_); |
- value->SetString("legacySource", |
- GetUpdatesSourceString(legacy_updates_source_)); |
+ value->SetString("legacySource", ProtoEnumToString(legacy_updates_source_)); |
value->SetBoolean("notificationsEnabled", notifications_enabled_); |
std::unique_ptr<base::DictionaryValue> counter_entries( |