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

Unified Diff: components/sync/protocol/proto_enum_conversions.cc

Issue 2938133003: Split translate_event.proto AUTOMATICALLY_TRANSLATED. (Closed)
Patch Set: updates Created 3 years, 6 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/metrics/proto/translate_event.proto ('k') | components/sync/protocol/user_event_specifics.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/protocol/proto_enum_conversions.cc
diff --git a/components/sync/protocol/proto_enum_conversions.cc b/components/sync/protocol/proto_enum_conversions.cc
index 2ff772449c26f95bb7636426db0f9149f69b9d81..4a73e9538d0e702a8cdcc3c71b4631f80c63b3e8 100644
--- a/components/sync/protocol/proto_enum_conversions.cc
+++ b/components/sync/protocol/proto_enum_conversions.cc
@@ -296,7 +296,7 @@ const char* ProtoEnumToString(sync_pb::TabNavigation::PasswordState state) {
const char* ProtoEnumToString(sync_pb::Translation::Interaction interaction) {
ASSERT_ENUM_BOUNDS(sync_pb::Translation, Interaction, UNKNOWN,
- AUTOMATIC_TRANSLATION);
+ AUTO_TRANSLATION_BY_LINK);
switch (interaction) {
ENUM_CASE(sync_pb::Translation, UNKNOWN);
ENUM_CASE(sync_pb::Translation, ACCEPT);
@@ -305,7 +305,8 @@ const char* ProtoEnumToString(sync_pb::Translation::Interaction interaction) {
ENUM_CASE(sync_pb::Translation, DISMISSED);
ENUM_CASE(sync_pb::Translation, MANUAL);
ENUM_CASE(sync_pb::Translation, TRANSLATION_REVERTED);
- ENUM_CASE(sync_pb::Translation, AUTOMATIC_TRANSLATION);
+ ENUM_CASE(sync_pb::Translation, AUTO_TRANSLATION_BY_PREF);
+ ENUM_CASE(sync_pb::Translation, AUTO_TRANSLATION_BY_LINK);
}
NOTREACHED();
return "";
« no previous file with comments | « components/metrics/proto/translate_event.proto ('k') | components/sync/protocol/user_event_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698