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

Unified Diff: ash/system/chromeos/network/vpn_list_view.cc

Issue 1722453002: Extend vpnProvider to allow reconnections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment Created 4 years, 9 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 | « no previous file | chrome/test/data/extensions/api_test/vpn_provider/basic.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/network/vpn_list_view.cc
diff --git a/ash/system/chromeos/network/vpn_list_view.cc b/ash/system/chromeos/network/vpn_list_view.cc
index a80853bc2cec4196b3521dc92a3dd954d57c3943..ed130bef597160455c2996ad4abe30c2cf3f4e4f 100644
--- a/ash/system/chromeos/network/vpn_list_view.cc
+++ b/ash/system/chromeos/network/vpn_list_view.cc
@@ -210,7 +210,7 @@ void VPNListNetworkEntry::UpdateFromNetworkState(
ui::network_icon::GetLabelForNetwork(
network, ui::network_icon::ICON_TYPE_LIST),
IsConnectedOrConnecting(network));
- if (network->IsConnectedState()) {
+ if (IsConnectedOrConnecting(network)) {
disconnect_button_ = new DisconnectButton(this);
AddChildView(disconnect_button_);
SetBorder(
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/vpn_provider/basic.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698