Home | History | Annotate | Download | only in status

Lines Matching refs:vpn

166     VirtualNetwork* vpn = cros->FindVirtualNetworkByPath(service_path);
167 if (vpn) {
169 if (vpn->connecting_or_connected()) {
176 if (vpn->NeedMoreInfoToConnect()) {
177 ShowNetworkConfigView(new NetworkConfigView(vpn));
180 cros->ConnectToVirtualNetwork(vpn);
187 LOG(WARNING) << "VPN does not exist to connect to: " << service_path;
659 // VPN only applies if there's a connected underlying network.
673 const VirtualNetwork* vpn = virtual_networks[i];
674 if (vpn->connecting()) {
677 UTF8ToUTF16(vpn->name()),
680 label = UTF8ToUTF16(vpn->name());
692 if (!vpn->connectable())
694 if (active_vpn && vpn->service_path() == active_vpn->service_path())
697 MenuItem(ui::MenuModel::TYPE_COMMAND, label, icon, vpn->service_path(),
701 // Add option to add/disconnect from vpn.
745 LOG(WARNING) << "VPN not handled for connection type " << network->type();
1048 // If network is not null, check if it's the active network with vpn on it.