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

Issue 2843163003: Remove NetworkListDelegate (Closed)

Created:
3 years, 7 months ago by mohsen
Modified:
3 years, 7 months ago
Reviewers:
tdanderson
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove NetworkListDelegate NetworkListDelegate was introduced when parts of network UI were living in a different component. Now that everything is in //ash/system/network there is no need for the delegate. NetworkListView and VPNListView can access its methods directly from NetworkStateListDetailedView. Also, some of the functionality was only used in NetworkListView and moved to that class. This is the first step to clean up code for network and VPN detailed views necessary to share code between all detailed views. BUG=686343 TEST=none Review-Url: https://codereview.chromium.org/2843163003 Cr-Commit-Position: refs/heads/master@{#468227} Committed: https://chromium.googlesource.com/chromium/src/+/c6f5e538e663781caf96718cdd72c5154404179c

Patch Set 1 #

Patch Set 2 : Improvements #

Patch Set 3 : Cleanup #

Total comments: 12

Patch Set 4 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -274 lines) Patch
M ash/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/network/network_list.h View 1 2 3 5 chunks +15 lines, -5 lines 0 comments Download
M ash/system/network/network_list.cc View 1 2 3 17 chunks +169 lines, -70 lines 0 comments Download
D ash/system/network/network_list_delegate.h View 1 chunk +0 lines, -51 lines 0 comments Download
M ash/system/network/network_list_view_base.h View 1 2 chunks +13 lines, -2 lines 0 comments Download
M ash/system/network/network_list_view_base.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M ash/system/network/network_state_list_detailed_view.h View 1 5 chunks +5 lines, -21 lines 0 comments Download
M ash/system/network/network_state_list_detailed_view.cc View 1 4 chunks +0 lines, -110 lines 0 comments Download
M ash/system/network/vpn_list_view.h View 1 3 chunks +4 lines, -7 lines 0 comments Download
M ash/system/network/vpn_list_view.cc View 1 2 3 6 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 23 (18 generated)
mohsen
Please take a look...
3 years, 7 months ago (2017-04-28 03:27:07 UTC) #11
tdanderson
Very nice, thanks. A few suggestions below but otherwise LGTM. https://codereview.chromium.org/2843163003/diff/40001/ash/system/network/network_list.cc File ash/system/network/network_list.cc (right): https://codereview.chromium.org/2843163003/diff/40001/ash/system/network/network_list.cc#newcode91 ...
3 years, 7 months ago (2017-04-28 16:36:20 UTC) #12
mohsen
https://codereview.chromium.org/2843163003/diff/40001/ash/system/network/network_list.cc File ash/system/network/network_list.cc (right): https://codereview.chromium.org/2843163003/diff/40001/ash/system/network/network_list.cc#newcode91 ash/system/network/network_list.cc:91: // TODO(varkha|mohsen): Consolidate with a similar method in tray_bluetooth.cc. ...
3 years, 7 months ago (2017-04-28 21:51:33 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/2843163003/60001
3 years, 7 months ago (2017-04-29 05:47:43 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-04-29 05:51:28 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c6f5e538e663781caf96718cdd72...

Powered by Google App Engine
This is Rietveld 408576698