Changeset 52635 in webkit


Ignore:
Timestamp:
Dec 29, 2009 2:50:32 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-29 Andrei Popescu <andreip@google.com>

Reviewed by Adam Barth.

Add Android hook to NetworkStateNotifier class
so that the Java side can notify WebCore when the
network state changes.
https://bugs.webkit.org/show_bug.cgi?id=32871

No new tests required, this is platform code.

  • platform/network/NetworkStateNotifier.h:
  • platform/network/android/NetworkStateNotifierAndroid.cpp: Added. (WebCore::NetworkStateNotifier::networkStateChange):
Location:
trunk/WebCore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r52633 r52635  
     12009-12-29  Andrei Popescu  <andreip@google.com>
     2
     3        Reviewed by Adam Barth.
     4
     5        Add Android hook to NetworkStateNotifier class
     6        so that the Java side can notify WebCore when the
     7        network state changes.
     8        https://bugs.webkit.org/show_bug.cgi?id=32871
     9
     10        No new tests required, this is platform code.
     11
     12        * platform/network/NetworkStateNotifier.h:
     13        * platform/network/android/NetworkStateNotifierAndroid.cpp: Added.
     14        (WebCore::NetworkStateNotifier::networkStateChange):
     15
    1162009-12-29  Eric Seidel  <eric@webkit.org>
    217
  • trunk/WebCore/platform/network/NetworkStateNotifier.h

    r52261 r52635  
    8686    NetworkStateNotifierPrivate p;
    8787
     88#elif PLATFORM(ANDROID)
     89public:
     90    void networkStateChange(bool online);
     91
    8892#elif PLATFORM(QT) && ENABLE(QT_BEARER)
    8993    friend class NetworkStateNotifierPrivate;
Note: See TracChangeset for help on using the changeset viewer.