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

Issue 1942893002: Split NQE to multiple files (Closed)

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

Description

Split NQE to multiple files Split NetworkQualityEstimator to multiple files within //net/nqe. A new namespace net::nqe::internal has been added which contains functions/classes internal to NQE. This CL only refactors the code. There is no functionality change, although some new unittests have been added in network_quality_observation_unittest.cc. BUG=604091 Committed: https://crrev.com/b67539d93d0f6ec45311907e2cdf36e827913ec6 Cr-Commit-Position: refs/heads/master@{#393859}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : rebased and fixed cronet gn file #

Patch Set 4 : Fix tests on Windows #

Total comments: 2

Patch Set 5 : Fix tests #

Patch Set 6 : Rebased #

Patch Set 7 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1051 lines, -658 lines) Patch
M components/cronet.gypi View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M components/cronet/android/BUILD.gn View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M components/cronet/android/cronet_url_request_context_adapter.h View 2 chunks +5 lines, -5 lines 0 comments Download
M components/cronet/android/cronet_url_request_context_adapter.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M net/net.gypi View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
A net/nqe/cached_network_quality.h View 1 1 chunk +49 lines, -0 lines 0 comments Download
A net/nqe/cached_network_quality.cc View 1 1 chunk +33 lines, -0 lines 0 comments Download
A net/nqe/network_quality.h View 1 1 chunk +67 lines, -0 lines 0 comments Download
A net/nqe/network_quality.cc View 1 1 chunk +42 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.h View 1 2 3 4 5 11 chunks +23 lines, -232 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 4 5 28 chunks +99 lines, -227 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 3 4 19 chunks +49 lines, -185 lines 0 comments Download
A net/nqe/network_quality_observation.h View 1 1 chunk +53 lines, -0 lines 0 comments Download
A net/nqe/network_quality_observation_source.h View 1 1 chunk +40 lines, -0 lines 0 comments Download
A net/nqe/network_quality_observation_unittest.cc View 1 1 chunk +332 lines, -0 lines 0 comments Download
A net/nqe/observation_buffer.h View 1 2 3 4 1 chunk +186 lines, -0 lines 0 comments Download
A net/nqe/weighted_observation.h View 1 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (18 generated)
tbansal1
bengr: PTAL. Thanks.
4 years, 7 months ago (2016-05-02 22:22:14 UTC) #5
tbansal1
bengr: PTAL. Thanks. This CL only refactors the code. There is no functionality change.
4 years, 7 months ago (2016-05-02 22:25:07 UTC) #7
bengr
https://codereview.chromium.org/1942893002/diff/60001/net/nqe/network_quality.h File net/nqe/network_quality.h (right): https://codereview.chromium.org/1942893002/diff/60001/net/nqe/network_quality.h#newcode30 net/nqe/network_quality.h:30: const int32_t kInvalidThroughput = 0; Why doesn't have a ...
4 years, 7 months ago (2016-05-03 21:59:45 UTC) #11
tbansal1
bengr: PTAL at net/nqe/* mmenke: PTAL at net/net.gypi Thanks. https://codereview.chromium.org/1942893002/diff/60001/net/nqe/network_quality.h File net/nqe/network_quality.h (right): https://codereview.chromium.org/1942893002/diff/60001/net/nqe/network_quality.h#newcode30 net/nqe/network_quality.h:30: ...
4 years, 7 months ago (2016-05-04 22:07:24 UTC) #13
mmenke
You need to update cronet and net's BUILD.gn files as well. net.gypi is used for ...
4 years, 7 months ago (2016-05-05 14:50:56 UTC) #14
tbansal1
ptal. thanks.
4 years, 7 months ago (2016-05-05 17:58:18 UTC) #15
mmenke
https://codereview.chromium.org/1942893002/diff/140001/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/1942893002/diff/140001/components/cronet/android/BUILD.gn#newcode299 components/cronet/android/BUILD.gn:299: "//third_party/jsr-305:jsr_305_javalib", Should network_quality_observation_source_java be a dependency here? It is ...
4 years, 7 months ago (2016-05-06 15:04:04 UTC) #17
tbansal1
mmneke: PTAL. Thanks. https://codereview.chromium.org/1942893002/diff/140001/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/1942893002/diff/140001/components/cronet/android/BUILD.gn#newcode299 components/cronet/android/BUILD.gn:299: "//third_party/jsr-305:jsr_305_javalib", On 2016/05/06 15:04:04, mmenke wrote: ...
4 years, 7 months ago (2016-05-06 17:32:55 UTC) #18
mmenke
Ok, LGTM
4 years, 7 months ago (2016-05-06 18:11:28 UTC) #19
tbansal1
mef: PTAL at components/cronet* Thanks.
4 years, 7 months ago (2016-05-06 18:57:57 UTC) #21
mmenke
On 2016/05/06 18:57:57, tbansal1 wrote: > mef: PTAL at components/cronet* > Thanks. Think I'm still ...
4 years, 7 months ago (2016-05-06 19:17:03 UTC) #23
tbansal1
yes, you are. Moving mef@ to CC.
4 years, 7 months ago (2016-05-06 19:39:26 UTC) #25
bengr
lgtm
4 years, 7 months ago (2016-05-13 23:36:16 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1942893002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1942893002/220001
4 years, 7 months ago (2016-05-16 17:48:55 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:220001)
4 years, 7 months ago (2016-05-16 17:54:24 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 17:56:40 UTC) #34
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b67539d93d0f6ec45311907e2cdf36e827913ec6
Cr-Commit-Position: refs/heads/master@{#393859}

Powered by Google App Engine
This is Rietveld 408576698