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

Issue 2671603002: Add network information to UKM (Closed)

Created:
3 years, 10 months ago by rkaplow
Modified:
3 years, 10 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add network information to UKM Setup metric providers for UKM logs, and add network as a first client. Small refactor of ChromeMetricsServiceClient::Initialize to put the registrations in their own methods. BUG=678682 Review-Url: https://codereview.chromium.org/2671603002 Cr-Commit-Position: refs/heads/master@{#448330} Committed: https://chromium.googlesource.com/chromium/src/+/b8d63f435e6c869164a0ec63eec5be867d2b7157

Patch Set 1 #

Patch Set 2 : wrap provider in feature #

Total comments: 1

Patch Set 3 : provider test #

Total comments: 8

Patch Set 4 : fix comments and includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -10 lines) Patch
M chrome/browser/metrics/chrome_metrics_service_client.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 2 3 chunks +20 lines, -2 lines 0 comments Download
M components/metrics/test_metrics_provider.h View 1 2 4 chunks +8 lines, -1 line 0 comments Download
M components/metrics/test_metrics_provider.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M components/ukm/ukm_service.h View 1 2 3 7 chunks +16 lines, -6 lines 0 comments Download
M components/ukm/ukm_service.cc View 5 chunks +21 lines, -1 line 0 comments Download
M components/ukm/ukm_service_unittest.cc View 1 2 3 2 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
rkaplow
I was uncertain if the network metricsprovider should be shared. Currently the model is the ...
3 years, 10 months ago (2017-02-02 00:23:59 UTC) #3
Alexei Svitkine (slow)
lg, but can you add some test coverage? https://codereview.chromium.org/2671603002/diff/20001/components/ukm/ukm_service.h File components/ukm/ukm_service.h (right): https://codereview.chromium.org/2671603002/diff/20001/components/ukm/ukm_service.h#newcode68 components/ukm/ukm_service.h:68: std::unique_ptr<metrics::MetricsProvider> ...
3 years, 10 months ago (2017-02-02 17:34:44 UTC) #5
Bryan McQuade
LGTM, thanks! I suppose the only risk here is that the network providers assume they're ...
3 years, 10 months ago (2017-02-02 17:43:50 UTC) #6
rkaplow
On 2017/02/02 17:43:50, Bryan McQuade wrote: > LGTM, thanks! I suppose the only risk here ...
3 years, 10 months ago (2017-02-02 18:19:31 UTC) #8
tbansal1
On 2017/02/02 18:19:31, rkaplow wrote: > On 2017/02/02 17:43:50, Bryan McQuade wrote: > > LGTM, ...
3 years, 10 months ago (2017-02-02 18:29:25 UTC) #9
rkaplow
On 2017/02/02 18:29:25, tbansal1 wrote: > On 2017/02/02 18:19:31, rkaplow wrote: > > On 2017/02/02 ...
3 years, 10 months ago (2017-02-02 18:41:32 UTC) #10
tbansal1
On 2017/02/02 18:41:32, rkaplow wrote: > On 2017/02/02 18:29:25, tbansal1 wrote: > > On 2017/02/02 ...
3 years, 10 months ago (2017-02-02 18:43:22 UTC) #11
rkaplow
PTAL
3 years, 10 months ago (2017-02-03 20:36:27 UTC) #12
Steven Holte
lgtm
3 years, 10 months ago (2017-02-04 00:09:38 UTC) #13
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2671603002/diff/40001/chrome/browser/metrics/chrome_metrics_service_client.h File chrome/browser/metrics/chrome_metrics_service_client.h (right): https://codereview.chromium.org/2671603002/diff/40001/chrome/browser/metrics/chrome_metrics_service_client.h#newcode105 chrome/browser/metrics/chrome_metrics_service_client.h:105: // Register providers to the MetricsService. These provide ...
3 years, 10 months ago (2017-02-06 16:07:40 UTC) #14
rkaplow
https://codereview.chromium.org/2671603002/diff/40001/chrome/browser/metrics/chrome_metrics_service_client.h File chrome/browser/metrics/chrome_metrics_service_client.h (right): https://codereview.chromium.org/2671603002/diff/40001/chrome/browser/metrics/chrome_metrics_service_client.h#newcode105 chrome/browser/metrics/chrome_metrics_service_client.h:105: // Register providers to the MetricsService. These provide data ...
3 years, 10 months ago (2017-02-06 16:31:41 UTC) #15
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/2671603002/60001
3 years, 10 months ago (2017-02-06 17:54:40 UTC) #18
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 19:01:26 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b8d63f435e6c869164a0ec63eec5...

Powered by Google App Engine
This is Rietveld 408576698