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

Issue 2708293002: Switch UKM service to properly mark upload data as UKM and not UMA. (Closed)

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

Description

Switch UKM service to properly mark upload data as UKM and not UMA. This also refactors the api such that new services can more easily do the correct attribution. TBR=olivierrobin@chromium.org,boliu@chromium.org BUG=694735 Review-Url: https://codereview.chromium.org/2708293002 Cr-Commit-Position: refs/heads/master@{#452830} Committed: https://chromium.googlesource.com/chromium/src/+/9c420825985ca92a144a7e74ec114cd06759bf9a

Patch Set 1 #

Total comments: 4

Patch Set 2 : alexei comments #

Total comments: 1

Patch Set 3 : remove default #

Patch Set 4 : merge #

Patch Set 5 : fix uploadlog after merge #

Patch Set 6 : chromecast #

Patch Set 7 : fix chromecast #

Patch Set 8 : today extension #

Patch Set 9 : other clients #

Patch Set 10 : no switch default now requires a default value #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -24 lines) Patch
M android_webview/native/aw_metrics_service_client_impl.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/native/aw_metrics_service_client_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chromecast/browser/metrics/cast_metrics_service_client.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chromecast/browser/metrics/cast_metrics_service_client.cc View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M components/data_use_measurement/core/data_use_user_data.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/data_use_measurement/core/data_use_user_data.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/metrics/metrics_log_uploader.h View 1 2 chunks +16 lines, -2 lines 0 comments Download
M components/metrics/metrics_log_uploader.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/metrics/metrics_service.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/metrics/metrics_service_client.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/metrics/net/net_metrics_log_uploader.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/net/net_metrics_log_uploader.cc View 1 2 3 4 5 6 7 8 9 3 chunks +20 lines, -5 lines 0 comments Download
M components/metrics/net/net_metrics_log_uploader_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/test_metrics_log_uploader.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/test_metrics_log_uploader.cc View 1 chunk +6 lines, -1 line 0 comments Download
M components/metrics/test_metrics_service_client.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/metrics/test_metrics_service_client.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/ukm/ukm_service.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/metrics/ios_chrome_metrics_service_client.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M ios/chrome/today_extension/today_metrics_logger.mm View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 60 (40 generated)
rkaplow
ben, can your review the data_use_measurement alexei - everything
3 years, 10 months ago (2017-02-22 01:39:07 UTC) #3
Alexei Svitkine (slow)
lgtm % comments https://codereview.chromium.org/2708293002/diff/1/components/metrics/metrics_log_uploader.h File components/metrics/metrics_log_uploader.h (right): https://codereview.chromium.org/2708293002/diff/1/components/metrics/metrics_log_uploader.h#newcode48 components/metrics/metrics_log_uploader.h:48: MetricServiceType service_type_; Nit: const? https://codereview.chromium.org/2708293002/diff/1/components/metrics/net/net_metrics_log_uploader.cc File ...
3 years, 10 months ago (2017-02-22 15:46:11 UTC) #4
rkaplow
https://codereview.chromium.org/2708293002/diff/1/components/metrics/metrics_log_uploader.h File components/metrics/metrics_log_uploader.h (right): https://codereview.chromium.org/2708293002/diff/1/components/metrics/metrics_log_uploader.h#newcode48 components/metrics/metrics_log_uploader.h:48: MetricServiceType service_type_; On 2017/02/22 15:46:10, Alexei Svitkine (slow) wrote: ...
3 years, 10 months ago (2017-02-22 16:11:35 UTC) #5
tbansal1
lgtm components/data_use_measurement/* + A nit about the switch statement in net_metrics_log_uploader.cc. Thanks for doing this. ...
3 years, 10 months ago (2017-02-23 18:29:27 UTC) #7
rkaplow
On 2017/02/23 18:29:27, tbansal1 wrote: > lgtm components/data_use_measurement/* > + A nit about the switch ...
3 years, 10 months ago (2017-02-23 18:53:33 UTC) #8
rkaplow
3 years, 10 months ago (2017-02-23 18:53:39 UTC) #9
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/2708293002/40001
3 years, 10 months ago (2017-02-23 18:54:05 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/159028) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-23 18:56:31 UTC) #14
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/2708293002/60001
3 years, 10 months ago (2017-02-23 19:54:52 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_cronet on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_cronet/builds/88325) ios-device on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-23 20:05:03 UTC) #19
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/2708293002/80001
3 years, 10 months ago (2017-02-23 20:33:39 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/315509) ios-device on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-23 20:42:50 UTC) #24
Alexei Svitkine (slow)
lgtm
3 years, 10 months ago (2017-02-24 00:14:26 UTC) #43
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/2708293002/180001
3 years, 10 months ago (2017-02-24 05:47:34 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/372115)
3 years, 10 months ago (2017-02-24 05:55:22 UTC) #50
rkaplow
Olivier - owner review for iOS boliu - webview. Thanks
3 years, 10 months ago (2017-02-24 15:15:55 UTC) #52
Olivier
ios LGTM
3 years, 10 months ago (2017-02-24 15:23:03 UTC) #53
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/2708293002/180001
3 years, 10 months ago (2017-02-24 15:24:50 UTC) #56
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://chromium.googlesource.com/chromium/src/+/9c420825985ca92a144a7e74ec114cd06759bf9a
3 years, 10 months ago (2017-02-24 15:30:41 UTC) #59
boliu
3 years, 10 months ago (2017-02-24 16:03:24 UTC) #60
Message was sent while issue was closed.
rs lgtm

Powered by Google App Engine
This is Rietveld 408576698