Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: components/sync/driver/about_sync_util.cc

Issue 2433563002: [Sync] Reimplement proto value conversions on top of field visitors. (Closed)
Patch Set: Remove temporary tests Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/BUILD.gn ('k') | components/sync/engine/cycle/sync_cycle_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/about_sync_util.cc
diff --git a/components/sync/driver/about_sync_util.cc b/components/sync/driver/about_sync_util.cc
index 1cb71adb3e9bb3ac41726b8efeb651e623803558..ab8082c2b384863543e841596a46b9ea427e177d 100644
--- a/components/sync/driver/about_sync_util.cc
+++ b/components/sync/driver/about_sync_util.cc
@@ -424,7 +424,7 @@ std::unique_ptr<base::DictionaryValue> ConstructAboutInformation(
if (snapshot.legacy_updates_source() !=
sync_pb::GetUpdatesCallerInfo::UNKNOWN) {
session_source.SetValue(
- GetUpdatesSourceString(snapshot.legacy_updates_source()));
+ ProtoEnumToString(snapshot.legacy_updates_source()));
}
get_key_result.SetValue(GetSyncerErrorString(
snapshot.model_neutral_state().last_get_key_result));
« no previous file with comments | « components/sync/BUILD.gn ('k') | components/sync/engine/cycle/sync_cycle_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698