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

Issue 1167543010: UMA for data savings displayed to users. (Closed)

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

Description

UMA for data savings displayed to users. Daily reported UMA for number of bytes and data savings percent over the past 30 days. Committed: https://crrev.com/d530b6c23c9e32775674b343cc80c164b9861d40 Cr-Commit-Position: refs/heads/master@{#333136}

Patch Set 1 #

Patch Set 2 : Whitespace. #

Total comments: 6

Patch Set 3 : Addressed Alexei's comments. #

Total comments: 2

Patch Set 4 : Remove {} for 1 line if. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -0 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h View 1 chunk +5 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc View 1 2 3 2 chunks +23 lines, -0 lines 4 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (3 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 asvitkine: tools/metrics/histograms/histograms.xml
5 years, 6 months ago (2015-06-04 22:59:22 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/1167543010/diff/20001/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/1167543010/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode734 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:734: float user_visible_savings_percent = Nit: No need for float, since ...
5 years, 6 months ago (2015-06-05 15:46:53 UTC) #3
Not at Google. Contact bengr
https://codereview.chromium.org/1167543010/diff/20001/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/1167543010/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode734 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:734: float user_visible_savings_percent = On 2015/06/05 15:46:53, Alexei Svitkine wrote: ...
5 years, 6 months ago (2015-06-05 17:59:43 UTC) #4
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1167543010/diff/40001/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/1167543010/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode732 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:732: if (original_content_length == 0) { Nit: Most of ...
5 years, 6 months ago (2015-06-05 18:01:43 UTC) #5
Not at Google. Contact bengr
https://codereview.chromium.org/1167543010/diff/40001/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/1167543010/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode732 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:732: if (original_content_length == 0) { On 2015/06/05 18:01:43, Alexei ...
5 years, 6 months ago (2015-06-05 18:36:10 UTC) #6
bengr
Please write tests for this new histogram. https://codereview.chromium.org/1167543010/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/1167543010/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode744 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:744: user_visible_savings_bytes >> ...
5 years, 6 months ago (2015-06-05 20:58:17 UTC) #7
Not at Google. Contact bengr
https://codereview.chromium.org/1167543010/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/1167543010/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode744 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:744: user_visible_savings_bytes >> 10); On 2015/06/05 20:58:17, bengr wrote: > ...
5 years, 6 months ago (2015-06-05 21:00:33 UTC) #8
bengr
https://codereview.chromium.org/1167543010/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/1167543010/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode744 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:744: user_visible_savings_bytes >> 10); On 2015/06/05 21:00:32, kundaji wrote: > ...
5 years, 6 months ago (2015-06-05 21:14:05 UTC) #9
bengr
lgtm
5 years, 6 months ago (2015-06-05 21:14:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1167543010/60001
5 years, 6 months ago (2015-06-05 21:17:32 UTC) #13
Not at Google. Contact bengr
https://codereview.chromium.org/1167543010/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/1167543010/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc#newcode744 components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc:744: user_visible_savings_bytes >> 10); On 2015/06/05 21:14:05, bengr wrote: > ...
5 years, 6 months ago (2015-06-05 21:19:42 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-05 21:22:22 UTC) #15
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 21:23:20 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d530b6c23c9e32775674b343cc80c164b9861d40
Cr-Commit-Position: refs/heads/master@{#333136}

Powered by Google App Engine
This is Rietveld 408576698