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

Issue 2338563003: Record UMA for total data usage consumed by Chromium (Closed)

Created:
4 years, 3 months ago by tbansal1
Modified:
4 years, 3 months ago
CC:
chromium-reviews, jam, cbentzel+watch_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record UMA for total data usage consumed by Chromium The data usage count is recorded at the network delegate layer. Also, the data usage count reported by operating system is reported in different UMA metric. BUG=640052 Committed: https://crrev.com/086197baf9f5fc856643818c95246f685fad6c3f Cr-Commit-Position: refs/heads/master@{#420419}

Patch Set 1 : PS #

Total comments: 8

Patch Set 2 : Addressed sclittle comments #

Total comments: 4

Patch Set 3 : rebased, sclittle comments #

Total comments: 2

Patch Set 4 : rebased, addressed gayane comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -1 line) Patch
M chrome/browser/net/chrome_network_delegate.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate_unittest.cc View 2 chunks +16 lines, -0 lines 0 comments Download
M components/data_use_measurement/content/data_use_measurement.h View 1 3 chunks +20 lines, -0 lines 0 comments Download
M components/data_use_measurement/content/data_use_measurement.cc View 1 2 4 chunks +61 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 70 (54 generated)
tbansal1
4 years, 3 months ago (2016-09-14 01:24:06 UTC) #18
tbansal1
sclittle: ptal. Thanks.
4 years, 3 months ago (2016-09-14 01:24:20 UTC) #19
sclittle
https://codereview.chromium.org/2338563003/diff/100001/chrome/browser/net/chrome_network_delegate.cc File chrome/browser/net/chrome_network_delegate.cc (right): https://codereview.chromium.org/2338563003/diff/100001/chrome/browser/net/chrome_network_delegate.cc#newcode367 chrome/browser/net/chrome_network_delegate.cc:367: data_use_measurement_.OnNetworkBytesReceived(*request, bytes_received); Could you explain (e.g. in a comment ...
4 years, 3 months ago (2016-09-14 21:28:13 UTC) #22
tbansal1
sclittle: ptal. thanks. https://codereview.chromium.org/2338563003/diff/100001/chrome/browser/net/chrome_network_delegate.cc File chrome/browser/net/chrome_network_delegate.cc (right): https://codereview.chromium.org/2338563003/diff/100001/chrome/browser/net/chrome_network_delegate.cc#newcode367 chrome/browser/net/chrome_network_delegate.cc:367: data_use_measurement_.OnNetworkBytesReceived(*request, bytes_received); On 2016/09/14 21:28:13, sclittle ...
4 years, 3 months ago (2016-09-15 17:46:04 UTC) #34
tbansal1
ping. thanks.
4 years, 3 months ago (2016-09-19 16:49:46 UTC) #38
tbansal1
sclittle: ping. thanks.
4 years, 3 months ago (2016-09-20 20:45:29 UTC) #39
sclittle
https://codereview.chromium.org/2338563003/diff/200001/components/data_use_measurement/content/data_use_measurement.cc File components/data_use_measurement/content/data_use_measurement.cc (right): https://codereview.chromium.org/2338563003/diff/200001/components/data_use_measurement/content/data_use_measurement.cc#newcode197 components/data_use_measurement/content/data_use_measurement.cc:197: // background). This reduces the overhead of repeatedly calling ...
4 years, 3 months ago (2016-09-20 20:54:13 UTC) #40
tbansal1
sclittle: ptal. thanks. https://codereview.chromium.org/2338563003/diff/200001/components/data_use_measurement/content/data_use_measurement.cc File components/data_use_measurement/content/data_use_measurement.cc (right): https://codereview.chromium.org/2338563003/diff/200001/components/data_use_measurement/content/data_use_measurement.cc#newcode197 components/data_use_measurement/content/data_use_measurement.cc:197: // background). This reduces the overhead ...
4 years, 3 months ago (2016-09-21 17:38:42 UTC) #53
sclittle
LGTM
4 years, 3 months ago (2016-09-21 17:58:26 UTC) #54
tbansal1
mmenke: ptal at chrome/browser/net/* gayane: ptal at histograms.xml Thanks.
4 years, 3 months ago (2016-09-21 18:03:33 UTC) #56
mmenke
On 2016/09/21 18:03:33, tbansal1 wrote: > mmenke: ptal at chrome/browser/net/* > gayane: ptal at histograms.xml ...
4 years, 3 months ago (2016-09-21 18:07:40 UTC) #57
gayane -on leave until 09-2017
LGTM https://codereview.chromium.org/2338563003/diff/300001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2338563003/diff/300001/tools/metrics/histograms/histograms.xml#newcode101330 tools/metrics/histograms/histograms.xml:101330: + <suffix name="OS" label="As reported by the operating ...
4 years, 3 months ago (2016-09-21 19:41:20 UTC) #58
tbansal1
https://codereview.chromium.org/2338563003/diff/300001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2338563003/diff/300001/tools/metrics/histograms/histograms.xml#newcode101330 tools/metrics/histograms/histograms.xml:101330: + <suffix name="OS" label="As reported by the operating system."/> ...
4 years, 3 months ago (2016-09-22 17:59:22 UTC) #60
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/2338563003/320001
4 years, 3 months ago (2016-09-22 19:07:19 UTC) #66
commit-bot: I haz the power
Committed patchset #4 (id:320001)
4 years, 3 months ago (2016-09-22 19:13:31 UTC) #68
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 19:15:31 UTC) #70
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/086197baf9f5fc856643818c95246f685fad6c3f
Cr-Commit-Position: refs/heads/master@{#420419}

Powered by Google App Engine
This is Rietveld 408576698