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

Unified Diff: components/metrics/proto/translate_event.proto

Issue 2697703004: Allow TranslateRanker to override decisions taken by heuristics. (Closed)
Patch Set: Make ShouldSuppressBubbleUI easier to read. Created 3 years, 8 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/metrics/proto/translate_event.proto
diff --git a/components/metrics/proto/translate_event.proto b/components/metrics/proto/translate_event.proto
index ad19742cfd48f824d6aebbd5a789fd91ed172efd..fb9717372c832f861e2c213e21076df0fd2d97e1 100644
--- a/components/metrics/proto/translate_event.proto
+++ b/components/metrics/proto/translate_event.proto
@@ -16,7 +16,7 @@ package metrics;
// the Translate UI. Contains features used by Translate Ranker for
// inference, information about the ranker model and its decision, as
// well as user or automated feedback from the Translate UI.
-// Next tag: 15
+// Next tag: 16
message TranslateEventProto {
// Language strings are two or three letter codes, with sometimes an extra
// suffix (for e.g. chinese zh-TW or zh-CN). See
@@ -139,6 +139,10 @@ message TranslateEventProto {
// Event received from translate UI.
optional EventType event_type = 10;
+ // Decisions that have been overriden by translate ranker (e.g.
+ // LANGUAGE_DISABLED_BY_AUTO_BLACKLIST).
+ repeated EventType decision_overrides = 15;
+
// The timestamp for the event, in seconds.
// This value comes from Chromium's TimeTicks::Now(), which is an abstract
// time value that is guaranteed to always be increasing (regardless of

Powered by Google App Engine
This is Rietveld 408576698