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

Issue 2649303004: UKM: Added support for navigation sources (Closed)

Created:
3 years, 11 months ago by oystein (OOO til 10th of July)
Modified:
3 years, 10 months ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

UKM: Added support for navigation sources This adds functionality for adding navigation entries as sources for UKM, as well as unittesting utilities. Split out from https://codereview.chromium.org/2617883004/ R=holte@chromium.org,asvitkine@chromium.org BUG=684673 Review-Url: https://codereview.chromium.org/2649303004 Cr-Commit-Position: refs/heads/master@{#446833} Committed: https://chromium.googlesource.com/chromium/src/+/f8206ba1cdddee202d83e2c468aef524da8ede4b

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added deps #

Patch Set 3 : Removed redundant test steps #

Total comments: 21

Patch Set 4 : Review fixes #

Patch Set 5 : Missing docs #

Total comments: 6

Patch Set 6 : UMA histograms #

Total comments: 2

Patch Set 7 : Histogram description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -4 lines) Patch
M components/metrics/proto/ukm/source.proto View 1 chunk +2 lines, -2 lines 0 comments Download
M components/ukm/BUILD.gn View 1 5 chunks +22 lines, -0 lines 0 comments Download
M components/ukm/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A components/ukm/test_ukm_service.h View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
A components/ukm/test_ukm_service.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M components/ukm/ukm_service.h View 1 2 3 4 4 chunks +15 lines, -0 lines 0 comments Download
M components/ukm/ukm_service.cc View 1 2 3 4 5 5 chunks +24 lines, -2 lines 0 comments Download
M components/ukm/ukm_service_unittest.cc View 1 2 3 chunks +55 lines, -0 lines 0 comments Download
A components/ukm/ukm_source.h View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
A components/ukm/ukm_source.cc View 1 chunk +26 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (20 generated)
oystein (OOO til 10th of July)
ptal! Split this out from the big CL.
3 years, 11 months ago (2017-01-24 21:24:16 UTC) #3
oystein (OOO til 10th of July)
+asvitkine as well
3 years, 11 months ago (2017-01-24 21:25:48 UTC) #7
Steven Holte
lgtm https://codereview.chromium.org/2649303004/diff/1/components/ukm/ukm_service_unittest.cc File components/ukm/ukm_service_unittest.cc (right): https://codereview.chromium.org/2649303004/diff/1/components/ukm/ukm_service_unittest.cc#newcode17 components/ukm/ukm_service_unittest.cc:17: #include "third_party/zlib/google/compression_utils.h" Need to add to DEPS? https://codereview.chromium.org/2649303004/diff/1/components/ukm/ukm_service_unittest.cc#newcode108 ...
3 years, 11 months ago (2017-01-24 21:55:42 UTC) #13
oystein (OOO til 10th of July)
https://codereview.chromium.org/2649303004/diff/1/components/ukm/ukm_service_unittest.cc File components/ukm/ukm_service_unittest.cc (right): https://codereview.chromium.org/2649303004/diff/1/components/ukm/ukm_service_unittest.cc#newcode17 components/ukm/ukm_service_unittest.cc:17: #include "third_party/zlib/google/compression_utils.h" On 2017/01/24 21:55:42, Steven Holte wrote: > ...
3 years, 11 months ago (2017-01-24 22:09:56 UTC) #14
Alexei Svitkine (slow)
https://codereview.chromium.org/2649303004/diff/40001/components/metrics/proto/ukm/source.proto File components/metrics/proto/ukm/source.proto (right): https://codereview.chromium.org/2649303004/diff/40001/components/metrics/proto/ukm/source.proto#newcode28 components/metrics/proto/ukm/source.proto:28: optional int64 first_contentful_paint_msec = 4; Please land this change ...
3 years, 11 months ago (2017-01-25 15:35:05 UTC) #15
oystein (OOO til 10th of July)
Thanks! New version up. https://codereview.chromium.org/2649303004/diff/40001/components/metrics/proto/ukm/source.proto File components/metrics/proto/ukm/source.proto (right): https://codereview.chromium.org/2649303004/diff/40001/components/metrics/proto/ukm/source.proto#newcode28 components/metrics/proto/ukm/source.proto:28: optional int64 first_contentful_paint_msec = 4; ...
3 years, 11 months ago (2017-01-25 18:38:05 UTC) #16
Alexei Svitkine (slow)
lgtm % remaining comment and waiting until the server-side proto lands https://codereview.chromium.org/2649303004/diff/40001/components/ukm/ukm_service.h File components/ukm/ukm_service.h (right): ...
3 years, 11 months ago (2017-01-25 18:40:45 UTC) #19
oystein (OOO til 10th of July)
On 2017/01/25 18:40:45, Alexei Svitkine (slow) wrote: > lgtm % remaining comment and waiting until ...
3 years, 11 months ago (2017-01-25 18:47:11 UTC) #20
rkaplow
lgtm https://codereview.chromium.org/2649303004/diff/80001/components/ukm/ukm_service.cc File components/ukm/ukm_service.cc (right): https://codereview.chromium.org/2649303004/diff/80001/components/ukm/ukm_service.cc#newcode59 components/ukm/ukm_service.cc:59: // Maximum number of Sources we'll keep around ...
3 years, 11 months ago (2017-01-25 19:10:15 UTC) #22
oystein (OOO til 10th of July)
https://codereview.chromium.org/2649303004/diff/80001/components/ukm/ukm_service.cc File components/ukm/ukm_service.cc (right): https://codereview.chromium.org/2649303004/diff/80001/components/ukm/ukm_service.cc#newcode59 components/ukm/ukm_service.cc:59: // Maximum number of Sources we'll keep around before ...
3 years, 11 months ago (2017-01-25 21:09:56 UTC) #24
rkaplow
lgtm https://codereview.chromium.org/2649303004/diff/120001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2649303004/diff/120001/tools/metrics/histograms/histograms.xml#newcode70305 tools/metrics/histograms/histograms.xml:70305: + <summary>Counter for number of serialized UKM sources.</summary> ...
3 years, 11 months ago (2017-01-25 21:30:06 UTC) #27
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/2649303004/140001
3 years, 10 months ago (2017-01-27 22:08:33 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:140001) as https://chromium.googlesource.com/chromium/src/+/f8206ba1cdddee202d83e2c468aef524da8ede4b
3 years, 10 months ago (2017-01-27 23:45:02 UTC) #33
oystein (OOO til 10th of July)
3 years, 10 months ago (2017-01-28 00:02:20 UTC) #34
Message was sent while issue was closed.
https://codereview.chromium.org/2649303004/diff/120001/tools/metrics/histogra...
File tools/metrics/histograms/histograms.xml (right):

https://codereview.chromium.org/2649303004/diff/120001/tools/metrics/histogra...
tools/metrics/histograms/histograms.xml:70305: +  <summary>Counter for number of
serialized UKM sources.</summary>
On 2017/01/25 21:30:06, rkaplow wrote:
> when storing a UKM log.

Done.

Powered by Google App Engine
This is Rietveld 408576698