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

Issue 2791563002: Create feature and enable data collection for Data Saver site breakdown (Closed)

Created:
3 years, 8 months ago by megjablon
Modified:
3 years, 8 months ago
Reviewers:
Steven Holte, sclittle
CC:
chromium-reviews, cbentzel+watch_chromium.org, tbansal+watch-data-reduction-proxy_chromium.org, asvitkine+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Create feature and enable data collection for Data Saver site breakdown Add a feature to enable the new settings page with site breakdown. Also, add support so that when Data Saver is enabled on Android, compression stats collects site information. Don't collect site info when Data Saver is disabled, and when data usage reporting is disabled (when the proxy is turned off) keep the stats. The stats can be manually deleted using a button on the settings page. BUG=615560 Review-Url: https://codereview.chromium.org/2791563002 Cr-Commit-Position: refs/heads/master@{#462691} Committed: https://chromium.googlesource.com/chromium/src/+/5e5d1c1764d4ebbad4f51ab37f1d9341e6d26efb

Patch Set 1 #

Patch Set 2 : test fix #

Patch Set 3 : rebase #

Patch Set 4 : use feature instead of field trial #

Total comments: 4

Patch Set 5 : sclittle comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -13 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/flag_descriptions.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/flag_descriptions.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
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 7 chunks +37 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc View 1 2 chunks +21 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc View 1 2 3 5 chunks +20 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_usage_store.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_usage_store.cc View 1 2 3 4 2 chunks +7 lines, -9 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_features.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_features.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 60 (53 generated)
megjablon
PTAL, thanks!
3 years, 8 months ago (2017-04-03 23:53:41 UTC) #44
megjablon
+sclittle do you have time to take a look?
3 years, 8 months ago (2017-04-05 22:48:41 UTC) #46
sclittle
LGTM % nits https://codereview.chromium.org/2791563002/diff/160001/components/data_reduction_proxy/core/browser/data_usage_store.cc File components/data_reduction_proxy/core/browser/data_usage_store.cc (right): https://codereview.chromium.org/2791563002/diff/160001/components/data_reduction_proxy/core/browser/data_usage_store.cc#newcode25 components/data_reduction_proxy/core/browser/data_usage_store.cc:25: namespace { nit: could you put ...
3 years, 8 months ago (2017-04-06 01:07:05 UTC) #47
megjablon
holte: histograms.xml https://codereview.chromium.org/2791563002/diff/160001/components/data_reduction_proxy/core/browser/data_usage_store.cc File components/data_reduction_proxy/core/browser/data_usage_store.cc (right): https://codereview.chromium.org/2791563002/diff/160001/components/data_reduction_proxy/core/browser/data_usage_store.cc#newcode25 components/data_reduction_proxy/core/browser/data_usage_store.cc:25: namespace { On 2017/04/06 01:07:05, sclittle wrote: ...
3 years, 8 months ago (2017-04-06 22:08:24 UTC) #50
Steven Holte
lgtm
3 years, 8 months ago (2017-04-06 22:43:23 UTC) #52
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/2791563002/180001
3 years, 8 months ago (2017-04-06 23:25:21 UTC) #57
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 23:56:11 UTC) #60
Message was sent while issue was closed.
Committed patchset #5 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/5e5d1c1764d4ebbad4f51ab37f1d...

Powered by Google App Engine
This is Rietveld 408576698