Home
last modified time | relevance | path

Searched refs:VirtualNetwork (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/chromeos/options/
Dvpn_config_view.cc27 string16 ProviderTypeToString(chromeos::VirtualNetwork::ProviderType type) { in ProviderTypeToString()
29 case chromeos::VirtualNetwork::PROVIDER_TYPE_L2TP_IPSEC_PSK: in ProviderTypeToString()
32 case chromeos::VirtualNetwork::PROVIDER_TYPE_L2TP_IPSEC_USER_CERT: in ProviderTypeToString()
35 case chromeos::VirtualNetwork::PROVIDER_TYPE_OPEN_VPN: in ProviderTypeToString()
38 case chromeos::VirtualNetwork::PROVIDER_TYPE_MAX: in ProviderTypeToString()
51 return VirtualNetwork::PROVIDER_TYPE_L2TP_IPSEC_USER_CERT + 1; in GetItemCount()
56 VirtualNetwork::ProviderType type = in GetItemAt()
57 static_cast<VirtualNetwork::ProviderType>(index); in GetItemAt()
75 VPNConfigView::VPNConfigView(NetworkConfigView* parent, VirtualNetwork* vpn) in VPNConfigView()
101 if (provider_type_ == VirtualNetwork::PROVIDER_TYPE_L2TP_IPSEC_PSK && in CanLogin()
[all …]
Dvpn_config_view.h34 VPNConfigView(NetworkConfigView* parent, VirtualNetwork* vpn);
81 void Init(VirtualNetwork* vpn);
105 VirtualNetwork::ProviderType provider_type_;
Dnetwork_config_view.cc38 new VPNConfigView(this, static_cast<VirtualNetwork*>(network)); in NetworkConfigView()
/external/chromium/chrome/browser/chromeos/cros/
Dnetwork_library.cc381 static const char* ProviderTypeToString(VirtualNetwork::ProviderType type) { in ProviderTypeToString()
383 case VirtualNetwork::PROVIDER_TYPE_L2TP_IPSEC_PSK: in ProviderTypeToString()
384 case VirtualNetwork::PROVIDER_TYPE_L2TP_IPSEC_USER_CERT: in ProviderTypeToString()
386 case VirtualNetwork::PROVIDER_TYPE_OPEN_VPN: in ProviderTypeToString()
388 case VirtualNetwork::PROVIDER_TYPE_MAX: in ProviderTypeToString()
687 static VirtualNetwork::ProviderType ParseProviderType(const std::string& mode) { in ParseProviderType()
688 static StringToEnum<VirtualNetwork::ProviderType>::Pair table[] = { in ParseProviderType()
689 { kProviderL2tpIpsec, VirtualNetwork::PROVIDER_TYPE_L2TP_IPSEC_PSK }, in ParseProviderType()
690 { kProviderOpenVpn, VirtualNetwork::PROVIDER_TYPE_OPEN_VPN }, in ParseProviderType()
692 static StringToEnum<VirtualNetwork::ProviderType> parser( in ParseProviderType()
[all …]
Dmock_network_library.h51 MOCK_CONST_METHOD0(virtual_network, const VirtualNetwork*(void));
76 VirtualNetwork*(const std::string&));
102 MOCK_METHOD1(ConnectToVirtualNetwork, void(VirtualNetwork*));
Dnetwork_library.h424 class VirtualNetwork : public Network {
434 explicit VirtualNetwork(const std::string& service_path) : in VirtualNetwork() function
503 DISALLOW_COPY_AND_ASSIGN(VirtualNetwork);
505 typedef std::vector<VirtualNetwork*> VirtualNetworkVector;
983 virtual const VirtualNetwork* virtual_network() const = 0;
1033 virtual VirtualNetwork* FindVirtualNetworkByPath(
1116 virtual void ConnectToVirtualNetwork(VirtualNetwork* network) = 0;
Dcros_mock.cc271 .WillRepeatedly((Return((const VirtualNetwork*)(NULL)))); in SetNetworkLibraryStatusAreaExpectations()
/external/chromium/chrome/browser/chromeos/
Dnetwork_login_observer.cc63 const VirtualNetwork* vpn = *it; in RefreshStoredNetworks()
110 VirtualNetwork* vpn = *it; in OnNetworkManagerChanged()
Dnetwork_message_observer.cc211 const VirtualNetwork* net = *it; in OnNetworkManagerChanged()
/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dinternet_options_handler.h99 void PopulateVPNDetails(const chromeos::VirtualNetwork* vpn,
Dinternet_options_handler.cc648 const chromeos::VirtualNetwork* vpn = in PopulateDictionaryDetails()
739 const chromeos::VirtualNetwork* vpn, in PopulateVPNDetails()
939 chromeos::VirtualNetwork* network = NULL; in HandleVPNButtonClick()
/external/chromium/chrome/browser/chromeos/status/
Dnetwork_menu.cc166 VirtualNetwork* vpn = cros->FindVirtualNetworkByPath(service_path); in ConnectToNetworkAt()
272 const VirtualNetwork* active_vpn = cros->virtual_network(); in ActivatedAt()
667 const VirtualNetwork* active_vpn = cros->virtual_network(); in InitMenuItems()
673 const VirtualNetwork* vpn = virtual_networks[i]; in InitMenuItems()
/external/chromium/chrome/browser/
Dbrowser_about_handler.cc448 const chromeos::VirtualNetwork* vpn = in ToHtmlTableRow()
449 static_cast<const chromeos::VirtualNetwork*>(network); in ToHtmlTableRow()