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

Issue 2804113004: Add UMA to break down data usage by http/https and video/non_video (Closed)

Created:
3 years, 8 months ago by ajo1
Modified:
3 years, 8 months ago
CC:
chromium-reviews, sclittle
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA to break down data usage by http/https and video/non_video BUG=689659 Review-Url: https://codereview.chromium.org/2804113004 Cr-Commit-Position: refs/heads/master@{#464465} Committed: https://chromium.googlesource.com/chromium/src/+/049f4387ba7724fa3c5ac1117a438fabb504f563

Patch Set 1 #

Total comments: 4

Patch Set 2 : format and add to histograms.xml #

Patch Set 3 : Add tests #

Patch Set 4 : gn changes were sticking around #

Patch Set 5 : rename incorrect local variable #

Patch Set 6 : rename incorrect local variable #

Total comments: 8

Patch Set 7 : formatting #

Total comments: 5

Patch Set 8 : address review comments #

Patch Set 9 : fix erroneous UMA in unit test #

Total comments: 11

Patch Set 10 : review comments #

Total comments: 1

Patch Set 11 : rename args #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -85 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +48 lines, -25 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 21 chunks +136 lines, -60 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (18 generated)
sclittle
The basic approach here looks good, I'll review it more thoroughly once you've added the ...
3 years, 8 months ago (2017-04-07 20:07:34 UTC) #3
ajo1
https://codereview.chromium.org/2804113004/diff/1/.gn File .gn (left): https://codereview.chromium.org/2804113004/diff/1/.gn#oldcode44 .gn:44: v8_enable_inspector = true On 2017/04/07 20:07:34, sclittle wrote: > ...
3 years, 8 months ago (2017-04-07 23:52:32 UTC) #4
bengr
https://codereview.chromium.org/2804113004/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2804113004/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode428 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:428: bool is_video_request = false; nit: rename as is_video_response, because ...
3 years, 8 months ago (2017-04-10 20:48:13 UTC) #8
ajo1
PTAL https://codereview.chromium.org/2804113004/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2804113004/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode428 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:428: bool is_video_request = false; On 2017/04/10 20:48:12, bengr ...
3 years, 8 months ago (2017-04-10 21:54:45 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/2804113004/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2804113004/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode82 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:82: UMA_HISTOGRAM_COUNTS("Net.HttpContentLength.Https", UMA_HISTOGRAM_COUNTS is deprecated and we prefer new code ...
3 years, 8 months ago (2017-04-11 18:44:13 UTC) #10
bengr
https://codereview.chromium.org/2804113004/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2804113004/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode432 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:432: is_video_request = net::MatchesMimeType("video/*", mime_type); On 2017/04/10 21:54:45, ajo1 wrote: ...
3 years, 8 months ago (2017-04-11 18:51:43 UTC) #11
ajo1
https://codereview.chromium.org/2804113004/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2804113004/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode432 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:432: is_video_request = net::MatchesMimeType("video/*", mime_type); On 2017/04/11 18:51:43, bengr wrote: ...
3 years, 8 months ago (2017-04-11 20:00:26 UTC) #12
sclittle
https://codereview.chromium.org/2804113004/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2804113004/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode471 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:471: request.response_headers()->GetMimeType(&mime_type); nit: GetMimeType() returns a bool, you could reorganize ...
3 years, 8 months ago (2017-04-11 20:36:11 UTC) #13
ajo1
https://codereview.chromium.org/2804113004/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2804113004/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode471 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:471: request.response_headers()->GetMimeType(&mime_type); On 2017/04/11 20:36:11, sclittle wrote: > nit: GetMimeType() ...
3 years, 8 months ago (2017-04-11 23:08:49 UTC) #15
Alexei Svitkine (slow)
lgtm
3 years, 8 months ago (2017-04-12 14:40:31 UTC) #16
bengr
lgtm with nit. https://codereview.chromium.org/2804113004/diff/180001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2804113004/diff/180001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode480 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:480: is_https_request, is_video_response, optional nit: The prototype ...
3 years, 8 months ago (2017-04-12 21:00:35 UTC) #17
sclittle
deferring review to bengr
3 years, 8 months ago (2017-04-12 21:14:20 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/2804113004/180001
3 years, 8 months ago (2017-04-13 02:00:49 UTC) #21
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/2804113004/200001
3 years, 8 months ago (2017-04-13 02:06:12 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/361388)
3 years, 8 months ago (2017-04-13 03:45:18 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/2804113004/220001
3 years, 8 months ago (2017-04-13 05:04:23 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/361538)
3 years, 8 months ago (2017-04-13 06:18:11 UTC) #32
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/2804113004/220001
3 years, 8 months ago (2017-04-13 16:49:17 UTC) #34
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 18:00:58 UTC) #37
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/049f4387ba7724fa3c5ac1117a43...

Powered by Google App Engine
This is Rietveld 408576698