Added way to handle translations that were cancelled without an error in
the new Translate metrics. The initial implementation of the new Translate metrics assumed that when a translation failed or was cancelled there would be some error. There are a few cases where this is false, including when a translation is interrupted for a new translation with a different source or target language. This CL adds a second input parameter to TranslateMetricsLogger.LogTranslationFinished so we can specify if a translation finished successfully and if there was any translation error separately. Bug: 1155291 Change-Id: I762fe069ee9b69969a7ade84f5d5933cf43d8552 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2583107 Commit-Queue: Max Curran <curranmax@chromium.org> Reviewed-by:Ryan Sturm <ryansturm@chromium.org> Reviewed-by:
Scott Little <sclittle@chromium.org> Cr-Commit-Position: refs/heads/master@{#841171}
Showing
Please register or sign in to comment