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

Issue 2395253002: Send TranslateEventProtos to UMA. (Closed)

Created:
4 years, 2 months ago by hamelphi
Modified:
4 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, asvitkine+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send TranslateEventProtos to UMA Cache TranslateEvents and send them to UMA through the metrics provider. BUG=653700, 634961 Committed: https://crrev.com/b257fe9351c22aaae756a8527442193ef412d6cf Cr-Commit-Position: refs/heads/master@{#424878}

Patch Set 1 #

Patch Set 2 : Upload. #

Patch Set 3 : Send TranslateEventProtos to UMA. #

Patch Set 4 : Add more comments. #

Patch Set 5 : Small fix. #

Patch Set 6 : Events cache is owned by TranslateRanker. #

Patch Set 7 : nit #

Total comments: 4

Patch Set 8 : Fix build dependencies. #

Patch Set 9 : Add IsLoggingEnabled flag. #

Patch Set 10 : nit #

Total comments: 4

Patch Set 11 : Remove Record interface from client. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -10 lines) Patch
M components/translate/core/browser/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M components/translate/core/browser/translate_ranker.h View 1 2 3 4 5 6 7 8 9 4 chunks +22 lines, -2 lines 0 comments Download
M components/translate/core/browser/translate_ranker.cc View 1 2 3 4 5 6 7 8 4 chunks +23 lines, -0 lines 0 comments Download
M components/translate/core/browser/translate_ranker_metrics_provider.cc View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -8 lines 0 comments Download
M components/translate/core/browser/translate_ranker_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +72 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (25 generated)
hamelphi
4 years, 2 months ago (2016-10-07 21:54:27 UTC) #6
hamelphi
4 years, 2 months ago (2016-10-07 22:00:17 UTC) #8
groby-ooo-7-16
RS LGTM for translate, but I defer to Alexei on metrics handling.
4 years, 2 months ago (2016-10-10 02:47:26 UTC) #9
hamelphi
Please hold on the review. I am refactoring to fix a segmentation fault in some ...
4 years, 2 months ago (2016-10-11 20:35:47 UTC) #14
hamelphi
PTAL
4 years, 2 months ago (2016-10-12 15:14:31 UTC) #17
Alexei Svitkine (slow)
LGTM % comment Please put a blank line after the first sentence of your CL ...
4 years, 2 months ago (2016-10-12 15:21:59 UTC) #20
hamelphi
https://codereview.chromium.org/2395253002/diff/120001/chrome/browser/translate/chrome_translate_client.cc File chrome/browser/translate/chrome_translate_client.cc (right): https://codereview.chromium.org/2395253002/diff/120001/chrome/browser/translate/chrome_translate_client.cc#newcode174 chrome/browser/translate/chrome_translate_client.cc:174: if (translate::TranslateRanker::IsEnabled()) { On 2016/10/12 15:21:58, Alexei Svitkine (slow) ...
4 years, 2 months ago (2016-10-12 16:17:22 UTC) #23
hamelphi
4 years, 2 months ago (2016-10-12 16:17:41 UTC) #24
Roger McFarlane (Chromium)
Sweet! There's some code that isn't needed. Otherwise... LGTM. https://codereview.chromium.org/2395253002/diff/180001/chrome/browser/translate/chrome_translate_client.cc File chrome/browser/translate/chrome_translate_client.cc (right): https://codereview.chromium.org/2395253002/diff/180001/chrome/browser/translate/chrome_translate_client.cc#newcode171 chrome/browser/translate/chrome_translate_client.cc:171: ...
4 years, 2 months ago (2016-10-12 18:18:28 UTC) #30
hamelphi
https://codereview.chromium.org/2395253002/diff/180001/chrome/browser/translate/chrome_translate_client.cc File chrome/browser/translate/chrome_translate_client.cc (right): https://codereview.chromium.org/2395253002/diff/180001/chrome/browser/translate/chrome_translate_client.cc#newcode171 chrome/browser/translate/chrome_translate_client.cc:171: // TODO(rogerm): This code can be moved into TranslateManager. ...
4 years, 2 months ago (2016-10-12 21:06:09 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2395253002/200001
4 years, 2 months ago (2016-10-12 21:07:26 UTC) #34
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 2 months ago (2016-10-12 22:08:17 UTC) #36
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 22:11:01 UTC) #38
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/b257fe9351c22aaae756a8527442193ef412d6cf
Cr-Commit-Position: refs/heads/master@{#424878}

Powered by Google App Engine
This is Rietveld 408576698