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

Issue 387903003: Add metrics for tracking UX impact of non-static CLD data providers (Closed)

Created:
6 years, 5 months ago by Andrew Hayden (chromium.org)
Modified:
6 years, 5 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add metrics for tracking UX impact of non-static CLD data providers BUG=367239 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283817

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address comments #

Patch Set 3 : Use histos instead of actions #

Total comments: 18

Patch Set 4 : Comments addressed #

Total comments: 2

Patch Set 5 : asvitkine comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -3 lines) Patch
M chrome/renderer/translate/translate_helper.h View 1 2 3 4 3 chunks +59 lines, -1 line 0 comments Download
M chrome/renderer/translate/translate_helper.cc View 1 2 3 4 chunks +40 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Andrew Hayden (chromium.org)
Local testing indicates that this works as documented. There are nuances to interpretation on mobile ...
6 years, 5 months ago (2014-07-11 13:14:38 UTC) #1
jar (doing other things)
6 years, 5 months ago (2014-07-11 23:07:14 UTC) #2
Andrew Hayden (chromium.org)
PTAL. https://codereview.chromium.org/387903003/diff/1/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/387903003/diff/1/chrome/renderer/translate/translate_helper.cc#newcode89 chrome/renderer/translate/translate_helper.cc:89: // that language detection wouldn't have been relevant ...
6 years, 5 months ago (2014-07-14 14:24:13 UTC) #3
simonb1
LGTM with noted cosmetic changes. https://codereview.chromium.org/387903003/diff/1/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/387903003/diff/1/chrome/renderer/translate/translate_helper.cc#newcode89 chrome/renderer/translate/translate_helper.cc:89: // that language detection ...
6 years, 5 months ago (2014-07-14 16:23:48 UTC) #4
Alexei Svitkine (slow)
Is there a reason you're using User Actions here instead of an enumerated histogram with ...
6 years, 5 months ago (2014-07-14 16:35:52 UTC) #5
andrewhayden
On 2014/07/14 16:35:52, Alexei Svitkine wrote: > Is there a reason you're using User Actions ...
6 years, 5 months ago (2014-07-15 09:10:56 UTC) #6
Andrew Hayden (chromium.org)
I've addressed the comments by adding comments (ha) and fixing grammar. PTAL.
6 years, 5 months ago (2014-07-15 10:45:54 UTC) #7
Alexei Svitkine (slow)
Are you aware that the dashboards we have for user actions are much more limited ...
6 years, 5 months ago (2014-07-15 20:04:57 UTC) #8
Ilya Sherman
On 2014/07/15 20:04:57, Alexei Svitkine wrote: > Are you aware that the dashboards we have ...
6 years, 5 months ago (2014-07-15 20:45:22 UTC) #9
Andrew Hayden (chromium.org)
I've uploaded a patchset using histograms, copying the workaround/hack/[dujour] from page_load_histograms.cc to force an IPC ...
6 years, 5 months ago (2014-07-16 14:18:52 UTC) #10
Alexei Svitkine (slow)
Thanks, this looks much better. https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc#newcode671 chrome/renderer/translate/translate_helper.cc:671: void TranslateHelper::RecordLanguageDetectionTiming(LanguageDetectionTiming Nit: Wrap ...
6 years, 5 months ago (2014-07-16 14:50:40 UTC) #11
jar (doing other things)
https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc#newcode156 chrome/renderer/translate/translate_helper.cc:156: if (deferred_page_seq_no_ == -1) { nit: Although I'm not ...
6 years, 5 months ago (2014-07-16 16:44:44 UTC) #12
Takashi Toyoshima
once jar's comments are addressed, lgtm with one suggestion. https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc#newcode622 chrome/renderer/translate/translate_helper.cc:622: ...
6 years, 5 months ago (2014-07-17 02:09:31 UTC) #13
andrewhayden
I'll post a new patchset shortly addressing these comments. https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc#newcode156 chrome/renderer/translate/translate_helper.cc:156: ...
6 years, 5 months ago (2014-07-17 08:36:20 UTC) #14
andrewhayden
On 2014/07/17 02:09:31, Takashi Toyoshima (chromium) wrote: > once jar's comments are addressed, lgtm with ...
6 years, 5 months ago (2014-07-17 08:38:20 UTC) #15
Alexei Svitkine (slow)
https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc#newcode681 chrome/renderer/translate/translate_helper.cc:681: VLOG(1) << "Language detection timing: " << timing; On ...
6 years, 5 months ago (2014-07-17 13:20:26 UTC) #16
Andrew Hayden (chromium.org)
Addressing comments, PTAL. https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/387903003/diff/40001/chrome/renderer/translate/translate_helper.cc#newcode156 chrome/renderer/translate/translate_helper.cc:156: if (deferred_page_seq_no_ == -1) { On ...
6 years, 5 months ago (2014-07-17 14:00:43 UTC) #17
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/387903003/diff/60001/chrome/renderer/translate/translate_helper.h File chrome/renderer/translate/translate_helper.h (right): https://codereview.chromium.org/387903003/diff/60001/chrome/renderer/translate/translate_helper.h#newcode166 chrome/renderer/translate/translate_helper.h:166: LANGUAGE_DETECTION_TIMING_MAX_VALUE // bounding value for this enum Nit: ...
6 years, 5 months ago (2014-07-17 14:39:03 UTC) #18
andrewhayden
On 2014/07/17 14:39:03, Alexei Svitkine wrote: > lgtm > > https://codereview.chromium.org/387903003/diff/60001/chrome/renderer/translate/translate_helper.h > File chrome/renderer/translate/translate_helper.h (right): ...
6 years, 5 months ago (2014-07-17 14:51:39 UTC) #19
andrewhayden
(one minor note, I didn't add periods because it would have pushed the line length ...
6 years, 5 months ago (2014-07-17 14:52:29 UTC) #20
andrewhayden
The CQ bit was checked by andrewhayden@google.com
6 years, 5 months ago (2014-07-17 14:52:38 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andrewhayden@chromium.org/387903003/80001
6 years, 5 months ago (2014-07-17 14:53:08 UTC) #22
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 18:10:02 UTC) #23
Message was sent while issue was closed.
Change committed as 283817

Powered by Google App Engine
This is Rietveld 408576698