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

Issue 2269833002: Refactor the DataUseMeasurement class (Closed)

Created:
4 years, 3 months ago by tbansal1
Modified:
4 years, 3 months ago
Reviewers:
mmenke, sclittle
CC:
chromium-reviews, jam, cbentzel+watch_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor the DataUseMeasurement class Some of the methods in DataUseMeasurement class have been renamed in this CL. This is in preparation of adding more methods to this class. This change also has a positive side-effect that it hides the internal details of DataUseMeasurement class from ChromeNetworkDelegate. BUG=640052 Committed: https://crrev.com/21318e32a681bbb2ed20f15d7e34822b723ce616 Cr-Commit-Position: refs/heads/master@{#413806}

Patch Set 1 : PS #

Total comments: 2

Patch Set 2 : Also changed const* to const & #

Patch Set 3 : More mechanical changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -17 lines) Patch
M chrome/browser/net/chrome_network_delegate.cc View 1 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/precache/precache_util.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/data_use_measurement/content/data_use_measurement.h View 1 3 chunks +12 lines, -3 lines 0 comments Download
M components/data_use_measurement/content/data_use_measurement.cc View 1 4 chunks +19 lines, -7 lines 0 comments Download
M components/data_use_measurement/content/data_use_measurement_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (17 generated)
tbansal1
sclittle: ptal at *. Thanks.
4 years, 3 months ago (2016-08-23 00:42:11 UTC) #5
sclittle
lgtm % nit https://codereview.chromium.org/2269833002/diff/20001/components/data_use_measurement/content/data_use_measurement.h File components/data_use_measurement/content/data_use_measurement.h (right): https://codereview.chromium.org/2269833002/diff/20001/components/data_use_measurement/content/data_use_measurement.h#newcode44 components/data_use_measurement/content/data_use_measurement.h:44: void OnBeforeRedirect(net::URLRequest* request, const GURL& new_location); ...
4 years, 3 months ago (2016-08-23 00:49:28 UTC) #6
tbansal1
mmenke: ptal at chrome_network_delegate.cc. Thanks. https://codereview.chromium.org/2269833002/diff/20001/components/data_use_measurement/content/data_use_measurement.h File components/data_use_measurement/content/data_use_measurement.h (right): https://codereview.chromium.org/2269833002/diff/20001/components/data_use_measurement/content/data_use_measurement.h#newcode44 components/data_use_measurement/content/data_use_measurement.h:44: void OnBeforeRedirect(net::URLRequest* request, const ...
4 years, 3 months ago (2016-08-23 00:58:51 UTC) #9
mmenke
On 2016/08/23 00:58:51, tbansal1 wrote: > mmenke: ptal at chrome_network_delegate.cc. Thanks. chrome_network_delegate LGTM
4 years, 3 months ago (2016-08-23 15:32:51 UTC) #10
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/2269833002/60001
4 years, 3 months ago (2016-08-23 15:33:39 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/116995)
4 years, 3 months ago (2016-08-23 16:04:03 UTC) #15
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/2269833002/80001
4 years, 3 months ago (2016-08-23 19:02:56 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 3 months ago (2016-08-23 19:10:22 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-08-23 19:11:54 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/21318e32a681bbb2ed20f15d7e34822b723ce616
Cr-Commit-Position: refs/heads/master@{#413806}

Powered by Google App Engine
This is Rietveld 408576698