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

Issue 1306653003: Add connection type to NCN::MaxBandwidthChanged (Closed)

Created:
5 years, 3 months ago by jkarlin
Modified:
5 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL adds ConnectionType to the MaxBandwidthObserver notification as a convenience for its only client (in the downstream CL), NetInfo. This CL also ensures that MaxBandwidthObserver is called on every platform when the network type changes. Upstream of https://codereview.chromium.org/1306423004/ BUG=412741 Committed: https://crrev.com/bce491860ced584a398c76dca134ed350e879259 Cr-Commit-Position: refs/heads/master@{#349673}

Patch Set 1 #

Patch Set 2 : Mac NCN fix #

Patch Set 3 : Rebase #

Patch Set 4 : Comments #

Total comments: 2

Patch Set 5 : Rebase #

Patch Set 6 : GetMaxBandwidth -> GetMaxBandwidthAndConnectionType #

Patch Set 7 : Comment nit #

Total comments: 6

Patch Set 8 : Change arguments #

Patch Set 9 : Fix test #

Patch Set 10 : Fixes #

Total comments: 21

Patch Set 11 : Rebase #

Patch Set 12 : Address comments from PS10 #

Patch Set 13 : Remove extra space in comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -59 lines) Patch
M chromeos/network/network_change_notifier_chromeos.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M chromeos/network/network_change_notifier_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -4 lines 0 comments Download
M net/android/network_change_notifier_android.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -2 lines 0 comments Download
M net/android/network_change_notifier_android.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +9 lines, -5 lines 0 comments Download
M net/android/network_change_notifier_android_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +14 lines, -8 lines 0 comments Download
M net/android/network_change_notifier_delegate_android.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -2 lines 0 comments Download
M net/android/network_change_notifier_delegate_android.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -4 lines 0 comments Download
M net/base/network_change_notifier.h View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +30 lines, -18 lines 0 comments Download
M net/base/network_change_notifier.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +35 lines, -12 lines 0 comments Download
M net/base/network_change_notifier_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/network_change_notifier_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -1 line 0 comments Download
M net/base/network_change_notifier_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -2 lines 0 comments Download
M net/base/network_change_notifier_win.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (5 generated)
jkarlin
Paul: PTAL, thanks!
5 years, 3 months ago (2015-09-08 12:01:51 UTC) #3
jkarlin
pneubeck@chromium.org: Please review changes in chromeos/, thanks!
5 years, 3 months ago (2015-09-10 23:23:29 UTC) #5
pneubeck (no reviews)
chromeos/network/network_change_notifier_chromeos.cc lgtm https://codereview.chromium.org/1306653003/diff/80001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/1306653003/diff/80001/net/base/network_change_notifier.h#newcode240 net/base/network_change_notifier.h:240: // types). See the NetInfo spec for ...
5 years, 3 months ago (2015-09-11 07:48:20 UTC) #6
jkarlin
On 2015/09/11 07:48:20, pneubeck wrote: > chromeos/network/network_change_notifier_chromeos.cc lgtm > > https://codereview.chromium.org/1306653003/diff/80001/net/base/network_change_notifier.h > File net/base/network_change_notifier.h (right): ...
5 years, 3 months ago (2015-09-11 18:56:02 UTC) #7
jkarlin
https://codereview.chromium.org/1306653003/diff/80001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/1306653003/diff/80001/net/base/network_change_notifier.h#newcode240 net/base/network_change_notifier.h:240: // types). See the NetInfo spec for the mapping ...
5 years, 3 months ago (2015-09-11 18:56:11 UTC) #8
pauljensen
https://codereview.chromium.org/1306653003/diff/140001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/1306653003/diff/140001/net/base/network_change_notifier.h#newcode245 net/base/network_change_notifier.h:245: ConnectionType* connection_type); Are you going to change this API ...
5 years, 3 months ago (2015-09-11 18:59:02 UTC) #9
jkarlin
https://codereview.chromium.org/1306653003/diff/140001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/1306653003/diff/140001/net/base/network_change_notifier.h#newcode245 net/base/network_change_notifier.h:245: ConnectionType* connection_type); On 2015/09/11 18:59:02, pauljensen wrote: > Are ...
5 years, 3 months ago (2015-09-11 19:04:26 UTC) #10
pauljensen
https://codereview.chromium.org/1306653003/diff/140001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/1306653003/diff/140001/net/base/network_change_notifier.h#newcode245 net/base/network_change_notifier.h:245: ConnectionType* connection_type); On 2015/09/11 19:04:26, jkarlin wrote: > On ...
5 years, 3 months ago (2015-09-11 19:18:59 UTC) #11
jkarlin
https://codereview.chromium.org/1306653003/diff/140001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/1306653003/diff/140001/net/base/network_change_notifier.h#newcode245 net/base/network_change_notifier.h:245: ConnectionType* connection_type); On 2015/09/11 19:18:59, pauljensen wrote: > On ...
5 years, 3 months ago (2015-09-11 20:07:24 UTC) #12
jkarlin
PTAL, thanks!
5 years, 3 months ago (2015-09-14 14:37:40 UTC) #13
pneubeck (no reviews)
chromeos/network/network_change_notifier_chromeos.* still lgtm
5 years, 3 months ago (2015-09-14 16:23:52 UTC) #14
pauljensen
Can we give back more accurate max bandwidths given a particular connection type? e.g. NCNLinux ...
5 years, 3 months ago (2015-09-15 18:17:40 UTC) #15
jkarlin
Thanks Paul! PTAL. There are two issues with returning the max bandwidth for the type ...
5 years, 3 months ago (2015-09-16 12:12:22 UTC) #16
jkarlin
Paul: PTAL, this is the last one needed to get downlinkMax working :)
5 years, 3 months ago (2015-09-17 14:07:11 UTC) #17
pauljensen
lgtm
5 years, 3 months ago (2015-09-18 13:56:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306653003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306653003/260001
5 years, 3 months ago (2015-09-18 14:06:08 UTC) #21
commit-bot: I haz the power
Committed patchset #13 (id:260001)
5 years, 3 months ago (2015-09-18 15:14:14 UTC) #22
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 15:14:58 UTC) #23
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/bce491860ced584a398c76dca134ed350e879259
Cr-Commit-Position: refs/heads/master@{#349673}

Powered by Google App Engine
This is Rietveld 408576698