Lines Matching defs:vpn
86 return chromeos::onc::vpn::kIPsec;
88 return chromeos::onc::vpn::kOpenVPN;
374 const NetworkState* vpn = NetworkHandler::Get()->network_state_handler()->
376 if (!vpn) {
483 const NetworkState* vpn = NULL;
485 vpn = NetworkHandler::Get()->network_state_handler()->
487 DCHECK(vpn && vpn->type() == flimflam::kTypeVPN);
511 title_ = vpn ? IDS_OPTIONS_SETTINGS_JOIN_VPN : IDS_OPTIONS_SETTINGS_ADD_VPN;
682 if (vpn) {
695 const NetworkState* vpn = NetworkHandler::Get()->network_state_handler()->
697 if (!vpn) {
738 service_text_->SetText(ASCIIToUTF16(vpn->name()));
757 void VPNConfigView::ParseUIProperties(const NetworkState* vpn) {
761 ParseVPNUIProperty(vpn, type_dict_name, onc::ipsec::kServerCARef,
763 ParseVPNUIProperty(vpn, type_dict_name, onc::ipsec::kPSK,
765 ParseVPNUIProperty(vpn, type_dict_name, onc::ipsec::kGroup,
768 ParseVPNUIProperty(vpn, type_dict_name, onc::openvpn::kServerCARef,
771 ParseVPNUIProperty(vpn, type_dict_name, onc::vpn::kClientCertRef,
776 onc::vpn::kL2TP : type_dict_name);
777 ParseVPNUIProperty(vpn, credentials_dict_name, onc::vpn::kUsername,
779 ParseVPNUIProperty(vpn, credentials_dict_name, onc::vpn::kPassword,
781 ParseVPNUIProperty(vpn, credentials_dict_name, onc::vpn::kSaveCredentials,
979 const NetworkState* vpn = NetworkHandler::Get()->network_state_handler()->
981 if (vpn && vpn->connection_state() == flimflam::kStateFailure)
982 error_msg = ash::network_connect::ErrorString(vpn->error());