Skip to content
Permalink
Browse files
[BlackBerry] Upstream the BlackBerry change to NetworkStateNotifier.h
https://bugs.webkit.org/show_bug.cgi?id=74904

Reviewed by Daniel Bates.

No functionality change to existing code, no new tests.

* platform/network/NetworkStateNotifier.h:


Canonical link: https://commits.webkit.org/91666@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@103304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Leo Yang committed Dec 20, 2011
1 parent 2fe70ec commit cd421acb5f5ef0128f5a071489311089ad4679e9
Showing with 16 additions and 1 deletion.
  1. +11 −0 Source/WebCore/ChangeLog
  2. +5 −1 Source/WebCore/platform/network/NetworkStateNotifier.h
@@ -1,3 +1,14 @@
2011-12-19 Leo Yang <leo.yang@torchmobile.com.cn>

[BlackBerry] Upstream the BlackBerry change to NetworkStateNotifier.h
https://bugs.webkit.org/show_bug.cgi?id=74904

Reviewed by Daniel Bates.

No functionality change to existing code, no new tests.

* platform/network/NetworkStateNotifier.h:

2011-12-19 Yael Aharon <yael.aharon@nokia.com>

Update dropzone implementation per spec update
@@ -67,6 +67,10 @@ class NetworkStateNotifier {
void setOnLine(bool);
#endif

#if PLATFORM(BLACKBERRY)
void networkStateChange(bool online);
#endif

private:
bool m_isOnLine;
void (*m_networkStateChangedFunction)();
@@ -96,7 +100,7 @@ class NetworkStateNotifier {
#endif
};

#if !PLATFORM(MAC) && !PLATFORM(WIN) && !(PLATFORM(QT) && !defined(QT_NO_BEARERMANAGEMENT))
#if !PLATFORM(MAC) && !PLATFORM(WIN) && !(PLATFORM(QT) && !defined(QT_NO_BEARERMANAGEMENT)) && !PLATFORM(BLACKBERRY)

inline NetworkStateNotifier::NetworkStateNotifier()
: m_isOnLine(true)

0 comments on commit cd421ac

Please sign in to comment.