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

Issue 1286643002: Fix UMA to track video data usage. (Closed)

Created:
5 years, 4 months ago by Not at Google. Contact bengr
Modified:
5 years, 4 months ago
Reviewers:
bengr
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix UMA to track video data usage. Add prefs to store data usage for mime-types used by video content. Write the data from prefs to UMA once a day. The initial implementation of video data usage UMAs was incorrect since it was not maintaining historic data, and was incorrectly assigning data usage to the mime type of the request which triggered reporting. BUG=516822, 481025 Committed: https://crrev.com/dde0c436fe9c4f95b826bbeb779e77fcff657305 Cr-Commit-Position: refs/heads/master@{#344515} Committed: https://crrev.com/3538199987e27b6bf98e8e15421d5f8f8722ab3d Cr-Commit-Position: refs/heads/master@{#344634}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. Add tests. #

Patch Set 3 : Fix video test #

Total comments: 2

Patch Set 4 : Change daily savings prefs to store stats for one day instead of 60 days #

Total comments: 10

Patch Set 5 : Re-factored pref increment code #

Patch Set 6 : Rename method #

Patch Set 7 : sync to head #

Patch Set 8 : Sync to head #

Patch Set 9 : Comments #

Patch Set 10 : Init prefs in compression stats map #

Messages

Total messages: 30 (11 generated)
Not at Google. Contact bengr
bengr: components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h
5 years, 4 months ago (2015-08-11 00:04:41 UTC) #2
bengr
Please add the specifics of what you fixed to the CL description.
5 years, 4 months ago (2015-08-11 16:57:22 UTC) #3
bengr
In general, our list of prefs containing statistics has grown to an absurd level. I'd ...
5 years, 4 months ago (2015-08-11 17:10:25 UTC) #4
Not at Google. Contact bengr
Added more information to description. Yes, moving these prefs to storage is a good idea. ...
5 years, 4 months ago (2015-08-12 19:49:59 UTC) #5
bengr
lgtm with nit. https://codereview.chromium.org/1286643002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h (right): https://codereview.chromium.org/1286643002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h#newcode146 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h:146: // is for current day. Maintains ...
5 years, 4 months ago (2015-08-12 22:16:27 UTC) #6
Not at Google. Contact bengr
Prefs used to log daily savings UMA are maintaining stats for 60 days even though ...
5 years, 4 months ago (2015-08-17 22:34:11 UTC) #7
bengr
https://codereview.chromium.org/1286643002/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc (right): https://codereview.chromium.org/1286643002/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode711 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:711: RECORD_INT64PREF_TO_HISTOGRAM( Instead of all of these macro calls, could ...
5 years, 4 months ago (2015-08-18 19:44:57 UTC) #8
Not at Google. Contact bengr
https://codereview.chromium.org/1286643002/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc (right): https://codereview.chromium.org/1286643002/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode711 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:711: RECORD_INT64PREF_TO_HISTOGRAM( On 2015/08/18 19:44:57, bengr wrote: > Instead of ...
5 years, 4 months ago (2015-08-18 22:39:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286643002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286643002/120001
5 years, 4 months ago (2015-08-19 19:11:48 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/90179)
5 years, 4 months ago (2015-08-19 19:18:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286643002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286643002/160001
5 years, 4 months ago (2015-08-20 00:32:28 UTC) #17
commit-bot: I haz the power
Internal error: failed to checkout. Please try again.
5 years, 4 months ago (2015-08-20 02:33:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286643002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286643002/160001
5 years, 4 months ago (2015-08-20 16:16:13 UTC) #22
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 4 months ago (2015-08-20 16:21:14 UTC) #23
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/dde0c436fe9c4f95b826bbeb779e77fcff657305 Cr-Commit-Position: refs/heads/master@{#344515}
5 years, 4 months ago (2015-08-20 16:21:59 UTC) #24
lfg
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/1303813005/ by lfg@chromium.org. ...
5 years, 4 months ago (2015-08-20 20:48:04 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286643002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286643002/180001
5 years, 4 months ago (2015-08-20 23:24:18 UTC) #28
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 4 months ago (2015-08-21 01:05:42 UTC) #29
commit-bot: I haz the power
5 years, 4 months ago (2015-08-21 01:06:27 UTC) #30
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/3538199987e27b6bf98e8e15421d5f8f8722ab3d
Cr-Commit-Position: refs/heads/master@{#344634}

Powered by Google App Engine
This is Rietveld 408576698