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

Unified Diff: ash/system/network/vpn_list_view.h

Issue 2843163003: Remove NetworkListDelegate (Closed)
Patch Set: Addressed review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/network/network_state_list_detailed_view.cc ('k') | ash/system/network/vpn_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/network/vpn_list_view.h
diff --git a/ash/system/network/vpn_list_view.h b/ash/system/network/vpn_list_view.h
index 2f59d00bae20ba3438945f6c55970cf7548e8912..23c0009e338a07240bddfeaca38eadd0b055d89b 100644
--- a/ash/system/network/vpn_list_view.h
+++ b/ash/system/network/vpn_list_view.h
@@ -18,15 +18,14 @@ namespace chromeos {
class NetworkState;
}
-namespace ash {
-class NetworkListDelegate;
-}
-
namespace views {
class View;
}
namespace ash {
+namespace tray {
+class NetworkStateListDetailedView;
+}
// A list of VPN providers and networks that shows VPN providers and networks in
// a hierarchical layout, allowing the user to see at a glance which provider a
@@ -45,7 +44,7 @@ class VPNListView : public NetworkListViewBase,
public VpnList::Observer,
public ViewClickListener {
public:
- explicit VPNListView(NetworkListDelegate* delegate);
+ explicit VPNListView(tray::NetworkStateListDetailedView* detailed_view);
~VPNListView() override;
// NetworkListViewBase:
@@ -72,8 +71,6 @@ class VPNListView : public NetworkListViewBase,
void AddProvidersAndNetworks(
const chromeos::NetworkStateHandler::NetworkStateList& networks);
- NetworkListDelegate* const delegate_;
-
// A mapping from each VPN provider's list entry to the provider.
std::map<const views::View* const, VPNProvider> provider_view_map_;
« no previous file with comments | « ash/system/network/network_state_list_detailed_view.cc ('k') | ash/system/network/vpn_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698