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

Unified Diff: components/sync/protocol/user_event_specifics.proto

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
Index: components/sync/protocol/user_event_specifics.proto
diff --git a/components/sync/protocol/user_event_specifics.proto b/components/sync/protocol/user_event_specifics.proto
index c8b39329f39aca75d6fe77690351a3be8ff21666..0450329d352726aae5a8c60ea522609ae454181a 100644
--- a/components/sync/protocol/user_event_specifics.proto
+++ b/components/sync/protocol/user_event_specifics.proto
@@ -63,7 +63,10 @@ message Translation {
// and to_language_code will be previous chosen values.
TRANSLATION_REVERTED = 6;
// Automatically triggered translation.
- AUTOMATIC_TRANSLATION = 7;
+ // User sets always translate in user settings.
+ AUTO_TRANSLATION_BY_PREF = 7;
+ // User navigated through a click from a translated page.
+ AUTO_TRANSLATION_BY_LINK = 8;
}
optional Interaction interaction = 3;
}
« no previous file with comments | « components/sync/protocol/proto_enum_conversions.cc ('k') | components/translate/core/browser/translate_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698