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

Issue 2760253003: [Doodle] Record UMA for DoodleConfig download outcome and time (Closed)

Created:
3 years, 9 months ago by Marc Treib
Modified:
3 years, 9 months ago
Reviewers:
fhorschig, Ilya Sherman
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Doodle] Record UMA for DoodleConfig download outcome and time BUG=703227 Review-Url: https://codereview.chromium.org/2760253003 Cr-Commit-Position: refs/heads/master@{#459031} Committed: https://chromium.googlesource.com/chromium/src/+/1732bbc476bb0c1a82bd79fbaa82250a2276d7d0

Patch Set 1 #

Total comments: 9

Patch Set 2 : review 1 #

Total comments: 4

Patch Set 3 : review 2 #

Total comments: 4

Patch Set 4 : review 3 #

Patch Set 5 : tests #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -24 lines) Patch
M chrome/browser/doodle/doodle_service_factory.cc View 2 chunks +3 lines, -1 line 0 comments Download
M components/doodle/doodle_service.h View 1 2 4 chunks +36 lines, -3 lines 2 comments Download
M components/doodle/doodle_service.cc View 1 2 3 5 chunks +109 lines, -19 lines 0 comments Download
M components/doodle/doodle_service_unittest.cc View 1 2 3 4 3 chunks +104 lines, -1 line 3 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
Marc Treib
PTAL. WDYT about tests: Separate tests for metrics recording (but then I'll have to duplicate ...
3 years, 9 months ago (2017-03-21 13:05:44 UTC) #4
fhorschig
Tests are a really difficult thing now, I agree. We have a lot of cases, ...
3 years, 9 months ago (2017-03-21 15:26:27 UTC) #11
Marc Treib
Partially addressed - is this better? I'll see if the UpdateCachedConfig method can be split ...
3 years, 9 months ago (2017-03-21 16:10:46 UTC) #12
fhorschig
That's the direction I had in mind! https://codereview.chromium.org/2760253003/diff/1/components/doodle/doodle_service.cc File components/doodle/doodle_service.cc (right): https://codereview.chromium.org/2760253003/diff/1/components/doodle/doodle_service.cc#newcode162 components/doodle/doodle_service.cc:162: // Determine ...
3 years, 9 months ago (2017-03-21 16:41:34 UTC) #13
Marc Treib
All better now (I hope). PTAL again! https://codereview.chromium.org/2760253003/diff/1/components/doodle/doodle_service.cc File components/doodle/doodle_service.cc (right): https://codereview.chromium.org/2760253003/diff/1/components/doodle/doodle_service.cc#newcode162 components/doodle/doodle_service.cc:162: // Determine ...
3 years, 9 months ago (2017-03-21 16:48:59 UTC) #14
fhorschig
I am way more comfortable with that :) https://codereview.chromium.org/2760253003/diff/40001/components/doodle/doodle_service.cc File components/doodle/doodle_service.cc (right): https://codereview.chromium.org/2760253003/diff/40001/components/doodle/doodle_service.cc#newcode131 components/doodle/doodle_service.cc:131: if ...
3 years, 9 months ago (2017-03-21 17:09:01 UTC) #15
Marc Treib
https://codereview.chromium.org/2760253003/diff/40001/components/doodle/doodle_service.cc File components/doodle/doodle_service.cc (right): https://codereview.chromium.org/2760253003/diff/40001/components/doodle/doodle_service.cc#newcode131 components/doodle/doodle_service.cc:131: if (old_config.value() == new_config.value()) { On 2017/03/21 17:09:00, fhorschig ...
3 years, 9 months ago (2017-03-21 17:16:05 UTC) #16
Marc Treib
aaand added some tests. PTAL one (hopefully) final time :)
3 years, 9 months ago (2017-03-21 18:22:30 UTC) #19
fhorschig
Thanks, lgtm w/ nits. Nice to see that you wrote separate tests! https://codereview.chromium.org/2760253003/diff/80001/components/doodle/doodle_service.h File components/doodle/doodle_service.h ...
3 years, 9 months ago (2017-03-22 09:47:11 UTC) #22
Marc Treib
https://codereview.chromium.org/2760253003/diff/80001/components/doodle/doodle_service.h File components/doodle/doodle_service.h (right): https://codereview.chromium.org/2760253003/diff/80001/components/doodle/doodle_service.h#newcode91 components/doodle/doodle_service.h:91: void DoodleFetched(base::TimeTicks start_time, On 2017/03/22 09:47:10, fhorschig wrote: > ...
3 years, 9 months ago (2017-03-22 10:47:22 UTC) #23
Marc Treib
+isherman for histograms.xml, once again. PTAL, thanks!
3 years, 9 months ago (2017-03-22 10:48:04 UTC) #25
Ilya Sherman
Metrics LGTM, thanks.
3 years, 9 months ago (2017-03-22 22:34:22 UTC) #26
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/2760253003/80001
3 years, 9 months ago (2017-03-23 08:34:38 UTC) #28
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 09:33:46 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1732bbc476bb0c1a82bd79fbaa82...

Powered by Google App Engine
This is Rietveld 408576698