• Home
  • Raw
  • Download

Lines Matching full:net

30 #include "net/base/network_change_notifier.h"
31 #include "net/proxy_resolution/proxy_config.h"
32 #include "net/proxy_resolution/proxy_config_service.h"
33 #include "net/proxy_resolution/proxy_config_with_annotation.h"
36 #include "net/base/network_change_notifier_linux.h"
56 net::NetworkChangeNotifier::ConnectionType type) { in ConnectionTypeToString()
58 case net::NetworkChangeNotifier::CONNECTION_UNKNOWN: in ConnectionTypeToString()
60 case net::NetworkChangeNotifier::CONNECTION_ETHERNET: in ConnectionTypeToString()
62 case net::NetworkChangeNotifier::CONNECTION_WIFI: in ConnectionTypeToString()
64 case net::NetworkChangeNotifier::CONNECTION_2G: in ConnectionTypeToString()
66 case net::NetworkChangeNotifier::CONNECTION_3G: in ConnectionTypeToString()
68 case net::NetworkChangeNotifier::CONNECTION_4G: in ConnectionTypeToString()
70 case net::NetworkChangeNotifier::CONNECTION_5G: in ConnectionTypeToString()
72 case net::NetworkChangeNotifier::CONNECTION_NONE: in ConnectionTypeToString()
74 case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH: in ConnectionTypeToString()
81 std::string ProxyConfigToString(const net::ProxyConfig& config) { in ProxyConfigToString()
89 net::ProxyConfigService::ConfigAvailability availability) { in ConfigAvailabilityToString()
91 case net::ProxyConfigService::CONFIG_PENDING: in ConfigAvailabilityToString()
93 case net::ProxyConfigService::CONFIG_VALID: in ConfigAvailabilityToString()
95 case net::ProxyConfigService::CONFIG_UNSET: in ConfigAvailabilityToString()
104 public net::NetworkChangeNotifier::IPAddressObserver,
105 public net::NetworkChangeNotifier::ConnectionTypeObserver,
106 public net::NetworkChangeNotifier::DNSObserver,
107 public net::NetworkChangeNotifier::NetworkChangeObserver,
108 public net::ProxyConfigService::Observer {
117 // net::NetworkChangeNotifier::IPAddressObserver implementation.
120 // net::NetworkChangeNotifier::ConnectionTypeObserver implementation.
122 net::NetworkChangeNotifier::ConnectionType type) override { in OnConnectionTypeChanged()
127 // net::NetworkChangeNotifier::DNSObserver implementation.
130 // net::NetworkChangeNotifier::NetworkChangeObserver implementation.
132 net::NetworkChangeNotifier::ConnectionType type) override { in OnNetworkChanged()
137 // net::ProxyConfigService::Observer implementation.
139 const net::ProxyConfigWithAnnotation& config, in OnProxyConfigChanged()
140 net::ProxyConfigService::ConfigAvailability availability) override { in OnProxyConfigChanged()
180 std::make_unique<net::NetworkChangeNotifierLinux>(ignored_interfaces); in main()
182 std::unique_ptr<net::NetworkChangeNotifier> network_change_notifier( in main()
183 net::NetworkChangeNotifier::CreateIfNeeded()); in main()
187 std::unique_ptr<net::ProxyConfigService> proxy_config_service( in main()
188 net::ProxyConfigService::CreateSystemProxyConfigService( in main()
192 net::NetworkChangeNotifier::AddIPAddressObserver(&net_watcher); in main()
193 net::NetworkChangeNotifier::AddConnectionTypeObserver(&net_watcher); in main()
194 net::NetworkChangeNotifier::AddDNSObserver(&net_watcher); in main()
195 net::NetworkChangeNotifier::AddNetworkChangeObserver(&net_watcher); in main()
201 net::NetworkChangeNotifier::GetConnectionType()); in main()
204 net::ProxyConfigWithAnnotation config; in main()
205 const net::ProxyConfigService::ConfigAvailability availability = in main()
219 net::NetworkChangeNotifier::RemoveDNSObserver(&net_watcher); in main()
220 net::NetworkChangeNotifier::RemoveConnectionTypeObserver(&net_watcher); in main()
221 net::NetworkChangeNotifier::RemoveIPAddressObserver(&net_watcher); in main()
222 net::NetworkChangeNotifier::RemoveNetworkChangeObserver(&net_watcher); in main()