HomeSort by relevance Sort by last modified time
    Searched defs:NetworkChangeNotifier (Results 1 - 6 of 6) sorted by null

  /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...]
  /external/chromium_org/net/base/
network_change_notifier.h 28 // NetworkChangeNotifier monitors the system for network changes, and notifies
33 class NET_EXPORT NetworkChangeNotifier {
64 // See NetworkChangeNotifier::GetConnectionType() for important caveats
128 virtual ~NetworkChangeNotifier();
130 // See the description of NetworkChangeNotifier::GetConnectionType().
135 // Replaces the default class factory instance of NetworkChangeNotifier class.
139 // Creates the process-wide, platform-specific NetworkChangeNotifier. The
145 static NetworkChangeNotifier* Create();
187 static NetworkChangeNotifier* CreateMock();
219 // Let the NetworkChangeNotifier know we received some data
    [all...]
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...]
  /external/chromium_org/net/android/java/src/org/chromium/net/
NetworkChangeNotifier.java 27 public class NetworkChangeNotifier {
51 private static NetworkChangeNotifier sInstance;
53 private NetworkChangeNotifier(Context context) {
63 public static NetworkChangeNotifier init(Context context) {
65 sInstance = new NetworkChangeNotifier(context);
75 sInstance = new NetworkChangeNotifier(context);
104 public static NetworkChangeNotifier getInstance() {
114 * @param shouldAutoDetect true if the NetworkChangeNotifier should listen for system changes in
149 * @param networkAvailable True if the NetworkChangeNotifier should perceive a "connected"
  /external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
AccountManagerHelper.java 24 import org.chromium.net.NetworkChangeNotifier;
178 private class ConnectionRetry implements NetworkChangeNotifier.ConnectionTypeObserver {
198 NetworkChangeNotifier.removeConnectionTypeObserver(this);
201 if (NetworkChangeNotifier.isOnline()) {
202 NetworkChangeNotifier.removeConnectionTypeObserver(this);
281 !NetworkChangeNotifier.isInitialized()) {
288 NetworkChangeNotifier.addConnectionTypeObserver(newRetry);
290 NetworkChangeNotifier.addConnectionTypeObserver(retry);

Completed in 108 milliseconds