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

Unified Diff: ui/chromeos/network/network_connect.cc

Issue 2430003002: NetworkConnect::Delegate: service_path -> network_id (Closed)
Patch Set: Created 4 years, 2 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
Index: ui/chromeos/network/network_connect.cc
diff --git a/ui/chromeos/network/network_connect.cc b/ui/chromeos/network/network_connect.cc
index 73b183735477c1b947860e227a006983892e01a6..8971f8ce0e2a9322af57de32b42d5f185e621325 100644
--- a/ui/chromeos/network/network_connect.cc
+++ b/ui/chromeos/network/network_connect.cc
@@ -144,20 +144,20 @@ void NetworkConnectImpl::HandleUnconfiguredNetwork(
if (network->type() == shill::kTypeWifi) {
// Only show the config view for secure networks, otherwise do nothing.
if (network->security_class() != shill::kSecurityNone) {
- delegate_->ShowNetworkConfigure(service_path);
+ delegate_->ShowNetworkConfigure(network->guid());
}
return;
}
if (network->type() == shill::kTypeWimax) {
- delegate_->ShowNetworkConfigure(service_path);
+ delegate_->ShowNetworkConfigure(network->guid());
return;
}
if (network->type() == shill::kTypeVPN) {
// Third-party VPNs handle configuration UI themselves.
if (network->vpn_provider_type() != shill::kProviderThirdPartyVpn)
- delegate_->ShowNetworkConfigure(service_path);
+ delegate_->ShowNetworkConfigure(network->guid());
return;
}

Powered by Google App Engine
This is Rietveld 408576698