/external/chromium_org/net/base/ |
network_change_notifier_factory.h | 12 class NetworkChangeNotifier; 14 // instance creation process of NetworkChangeNotifier. 19 virtual NetworkChangeNotifier* CreateInstance() = 0;
|
network_change_notifier.cc | 32 NetworkChangeNotifier* g_network_change_notifier = NULL; 37 class MockNetworkChangeNotifier : public NetworkChangeNotifier { 48 : public NetworkChangeNotifier::ConnectionTypeObserver, 49 public NetworkChangeNotifier::IPAddressObserver, 50 public NetworkChangeNotifier::DNSObserver, 51 public NetworkChangeNotifier::NetworkChangeObserver { 58 last_connection_type_(NetworkChangeNotifier::CONNECTION_UNKNOWN), 69 NetworkChangeNotifier::AddConnectionTypeObserver(this); 70 NetworkChangeNotifier::AddIPAddressObserver(this); 71 NetworkChangeNotifier::AddDNSObserver(this) [all...] |
network_change_notifier_linux.cc | 20 // Plumbing for NetworkChangeNotifier::GetCurrentConnectionType. 22 NetworkChangeNotifier::ConnectionType GetCurrentConnectionType() { 44 : base::Thread("NetworkChangeNotifier"), 46 base::Bind(&NetworkChangeNotifier:: 48 base::Bind(&NetworkChangeNotifier:: 60 base::Bind(&NetworkChangeNotifier::SetDnsConfig)); 72 : NetworkChangeNotifier(NetworkChangeCalculatorParamsLinux()), 88 NetworkChangeNotifier::NetworkChangeCalculatorParams 101 NetworkChangeNotifier::ConnectionType
|
/external/chromium/net/base/ |
network_change_notifier.cc | 23 NetworkChangeNotifier* g_network_change_notifier = NULL; 25 class MockNetworkChangeNotifier : public NetworkChangeNotifier { 32 NetworkChangeNotifier::~NetworkChangeNotifier() { 37 NetworkChangeNotifier* NetworkChangeNotifier::Create() { 51 bool NetworkChangeNotifier::IsOffline() { 57 NetworkChangeNotifier* NetworkChangeNotifier::CreateMock() { 61 void NetworkChangeNotifier::AddIPAddressObserver(IPAddressObserver* observer) [all...] |
network_change_notifier.h | 15 // NetworkChangeNotifier monitors the system for network changes, and notifies 18 class NET_EXPORT NetworkChangeNotifier { 40 // See NetworkChangeNotifier::IsOffline() for important caveats about 51 virtual ~NetworkChangeNotifier(); 53 // See the description of NetworkChangeNotifier::IsOffline(). 58 // Creates the process-wide, platform-specific NetworkChangeNotifier. The 64 static NetworkChangeNotifier* Create(); 77 static NetworkChangeNotifier* CreateMock(); 105 NetworkChangeNotifier(); 119 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier); [all...] |
net_test_suite.h | 17 class NetworkChangeNotifier; 38 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
|
network_change_notifier_linux.h | 15 class NetworkChangeNotifierLinux : public NetworkChangeNotifier { 24 // NetworkChangeNotifier:
|
/external/chromium_org/content/browser/net/ |
browser_online_state_observer.h | 16 : public net::NetworkChangeNotifier::ConnectionTypeObserver { 23 net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
|
browser_online_state_observer.cc | 13 net::NetworkChangeNotifier::AddConnectionTypeObserver(this); 17 net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); 21 net::NetworkChangeNotifier::ConnectionType type) { 25 type != net::NetworkChangeNotifier::CONNECTION_NONE));
|
/external/chromium_org/net/android/ |
network_change_notifier_factory_android.h | 16 class NetworkChangeNotifier; 20 // NetworkChangeNotifier. See network_change_notifier_android.h for more 32 virtual NetworkChangeNotifier* CreateInstance() OVERRIDE;
|
network_change_notifier_factory_android.cc | 16 NetworkChangeNotifier* NetworkChangeNotifierFactoryAndroid::CreateInstance() {
|
network_change_notifier_android_unittest.cc | 40 : public NetworkChangeNotifier::ConnectionTypeObserver { 44 // NetworkChangeNotifier::Observer: 46 NetworkChangeNotifier::ConnectionType connection_type) OVERRIDE { 62 typedef NetworkChangeNotifier::ConnectionType ConnectionType; 70 EXPECT_EQ(NetworkChangeNotifier::CONNECTION_UNKNOWN, 76 EXPECT_EQ(NetworkChangeNotifier::CONNECTION_NONE, 83 EXPECT_EQ(NetworkChangeNotifier::CONNECTION_NONE, 89 EXPECT_EQ(NetworkChangeNotifier::CONNECTION_UNKNOWN, 117 ASSERT_EQ(NetworkChangeNotifier::CONNECTION_NONE, 123 EXPECT_EQ(NetworkChangeNotifier::CONNECTION_NONE [all...] |
network_change_notifier_delegate_android.cc | 15 // the native side NetworkChangeNotifier::ConnectionType. 16 NetworkChangeNotifier::ConnectionType ConvertConnectionType( 19 case NetworkChangeNotifier::CONNECTION_UNKNOWN: 20 case NetworkChangeNotifier::CONNECTION_ETHERNET: 21 case NetworkChangeNotifier::CONNECTION_WIFI: 22 case NetworkChangeNotifier::CONNECTION_2G: 23 case NetworkChangeNotifier::CONNECTION_3G: 24 case NetworkChangeNotifier::CONNECTION_4G: 25 case NetworkChangeNotifier::CONNECTION_NONE: 29 return NetworkChangeNotifier::CONNECTION_UNKNOWN [all...] |
network_change_notifier_android.cc | 9 // ones imposed by NetworkChangeNotifier: 13 // The fact that this implementation of NetworkChangeNotifier is backed by a 14 // Java side singleton class (see NetworkChangeNotifier.java) adds another 49 // notifier (see NetworkChangeNotifier.java) and are initiated by the Android 57 // Android platform -> NetworkChangeNotifier (Java) -> 68 NetworkChangeNotifier::ConnectionType 74 NetworkChangeNotifier::NotifyObserversOfIPAddressChange(); 75 NetworkChangeNotifier::NotifyObserversOfConnectionTypeChange(); 85 : NetworkChangeNotifier(NetworkChangeCalculatorParamsAndroid()), 91 NetworkChangeNotifier::NetworkChangeCalculatorParam [all...] |
/external/chromium_org/net/tools/net_watcher/ |
net_watcher.cc | 37 net::NetworkChangeNotifier::ConnectionType type) { 39 case net::NetworkChangeNotifier::CONNECTION_UNKNOWN: 41 case net::NetworkChangeNotifier::CONNECTION_ETHERNET: 43 case net::NetworkChangeNotifier::CONNECTION_WIFI: 45 case net::NetworkChangeNotifier::CONNECTION_2G: 47 case net::NetworkChangeNotifier::CONNECTION_3G: 49 case net::NetworkChangeNotifier::CONNECTION_4G: 51 case net::NetworkChangeNotifier::CONNECTION_NONE: 81 public net::NetworkChangeNotifier::IPAddressObserver, 82 public net::NetworkChangeNotifier::ConnectionTypeObserver [all...] |
/external/chromium_org/chromeos/network/ |
network_change_notifier_chromeos_unittest.cc | 30 net::NetworkChangeNotifier::ConnectionType type; 57 using net::NetworkChangeNotifier; 63 NetworkChangeNotifier::ConnectionType connection_type; 66 { shill::kTypeEthernet, "", NetworkChangeNotifier::CONNECTION_ETHERNET }, 67 { shill::kTypeWifi, "", NetworkChangeNotifier::CONNECTION_WIFI }, 68 { shill::kTypeWimax, "", NetworkChangeNotifier::CONNECTION_4G }, 70 NetworkChangeNotifier::CONNECTION_UNKNOWN }, 72 NetworkChangeNotifier::CONNECTION_2G }, 74 NetworkChangeNotifier::CONNECTION_2G }, 76 NetworkChangeNotifier::CONNECTION_2G } [all...] |
network_change_notifier_chromeos.h | 21 : public net::NetworkChangeNotifier, 34 // NetworkChangeNotifier overrides. 35 virtual net::NetworkChangeNotifier::ConnectionType 62 // Maps the shill network type and technology to its NetworkChangeNotifier 64 static net::NetworkChangeNotifier::ConnectionType 70 static net::NetworkChangeNotifier::NetworkChangeCalculatorParams 73 NetworkChangeNotifier::ConnectionType connection_type_;
|
network_change_notifier_factory_chromeos.cc | 17 net::NetworkChangeNotifier*
|
network_change_notifier_factory_chromeos.h | 23 virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE;
|
/external/chromium_org/chrome/browser/metrics/ |
metrics_network_observer.cc | 18 net::NetworkChangeNotifier::AddConnectionTypeObserver(this); 19 connection_type_ = net::NetworkChangeNotifier::GetConnectionType(); 24 net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); 29 connection_type_ = net::NetworkChangeNotifier::GetConnectionType(); 34 net::NetworkChangeNotifier::ConnectionType type) { 35 if (type == net::NetworkChangeNotifier::CONNECTION_NONE) 38 connection_type_ != net::NetworkChangeNotifier::CONNECTION_NONE) { 49 case net::NetworkChangeNotifier::CONNECTION_NONE: 50 case net::NetworkChangeNotifier::CONNECTION_UNKNOWN: 52 case net::NetworkChangeNotifier::CONNECTION_ETHERNET [all...] |
metrics_network_observer.h | 17 // Registers as observer with net::NetworkChangeNotifier and keeps track of 20 : public net::NetworkChangeNotifier::ConnectionTypeObserver { 30 net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; 56 // The connection type according to net::NetworkChangeNotifier. 57 net::NetworkChangeNotifier::ConnectionType connection_type_;
|
/external/chromium_org/chrome/browser/web_resource/ |
resource_request_allowed_notifier_unittest.cc | 14 // Override NetworkChangeNotifier to simulate connection type changes for tests. 15 class TestNetworkChangeNotifier : public net::NetworkChangeNotifier { 18 : net::NetworkChangeNotifier(), 20 net::NetworkChangeNotifier::CONNECTION_UNKNOWN) { 26 net::NetworkChangeNotifier::ConnectionType type) { 28 net::NetworkChangeNotifier::NotifyObserversOfConnectionTypeChange(); 38 // CONNECTION_NONE, then NetworkChangeNotifier::IsOffline will return true. 39 net::NetworkChangeNotifier::ConnectionType connection_type_to_return_; 102 net::NetworkChangeNotifier::ConnectionType type) { 131 net::NetworkChangeNotifier::CONNECTION_NONE) [all...] |
resource_request_allowed_notifier.cc | 19 net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); 26 net::NetworkChangeNotifier::AddConnectionTypeObserver(this); 30 waiting_for_network_ = net::NetworkChangeNotifier::IsOffline(); 101 net::NetworkChangeNotifier::ConnectionType type) { 109 type != net::NetworkChangeNotifier::CONNECTION_NONE) { 114 type == net::NetworkChangeNotifier::CONNECTION_NONE) {
|
resource_request_allowed_notifier.h | 33 public net::NetworkChangeNotifier::ConnectionTypeObserver { 86 // net::NetworkChangeNotifier::ConnectionTypeObserver overrides: 88 net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
|
/external/chromium_org/net/test/ |
net_test_suite.h | 18 class NetworkChangeNotifier; 43 // NetworkChangeNotifier. Use this if your test needs to create and 44 // manage its own mock NetworkChangeNotifier, or if your test uses 45 // the production NetworkChangeNotifier. 49 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
|