Lines Matching refs:vpn
85 return onc::vpn::kIPsec;
87 return onc::vpn::kOpenVPN;
383 const NetworkState* vpn = NetworkHandler::Get()->network_state_handler()->
385 if (!vpn) {
490 const NetworkState* vpn = NULL;
492 vpn = NetworkHandler::Get()->network_state_handler()->
494 DCHECK(vpn && vpn->type() == shill::kTypeVPN);
518 title_ = vpn ? IDS_OPTIONS_SETTINGS_JOIN_VPN : IDS_OPTIONS_SETTINGS_ADD_VPN;
690 if (vpn) {
703 const NetworkState* vpn = NetworkHandler::Get()->network_state_handler()->
705 if (!vpn) {
749 service_text_->SetText(base::ASCIIToUTF16(vpn->name()));
771 void VPNConfigView::ParseUIProperties(const NetworkState* vpn) {
775 ParseVPNUIProperty(vpn, type_dict_name, ::onc::ipsec::kServerCARef,
777 ParseVPNUIProperty(vpn, type_dict_name, ::onc::ipsec::kPSK,
779 ParseVPNUIProperty(vpn, type_dict_name, ::onc::ipsec::kGroup,
782 ParseVPNUIProperty(vpn, type_dict_name, ::onc::openvpn::kServerCARef,
785 ParseVPNUIProperty(vpn, type_dict_name, ::onc::vpn::kClientCertRef,
790 ::onc::vpn::kL2TP : type_dict_name);
791 ParseVPNUIProperty(vpn, credentials_dict_name, ::onc::vpn::kUsername,
793 ParseVPNUIProperty(vpn, credentials_dict_name, ::onc::vpn::kPassword,
795 ParseVPNUIProperty(vpn, credentials_dict_name, ::onc::vpn::kSaveCredentials,
995 const NetworkState* vpn = NetworkHandler::Get()->network_state_handler()->
997 if (vpn && vpn->connection_state() == shill::kStateFailure)
999 vpn->last_error(), vpn->path());
1059 VLOG_IF(1, !onc) << "No ONC found for VPN network " << network->guid();