summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/page/Connection.h10
-rw-r--r--WebCore/platform/network/NetworkStateNotifier.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/page/Connection.h b/WebCore/page/Connection.h
index 837a36f..f32a36c 100644
--- a/WebCore/page/Connection.h
+++ b/WebCore/page/Connection.h
@@ -34,11 +34,11 @@ namespace WebCore {
class Connection : public RefCounted<Connection> {
public:
enum ConnectionType {
- Unknown = 0,
- Ethernet = 1,
- WiFi = 2,
- Cell_2G = 3,
- Cell_3G = 4,
+ UNKNOWN = 0,
+ ETHERNET = 1,
+ WIFI = 2,
+ CELL_2G = 3,
+ CELL_3G = 4,
};
static PassRefPtr<Connection> create() { return adoptRef(new Connection()); }
diff --git a/WebCore/platform/network/NetworkStateNotifier.h b/WebCore/platform/network/NetworkStateNotifier.h
index ade27fd..21d0067 100644
--- a/WebCore/platform/network/NetworkStateNotifier.h
+++ b/WebCore/platform/network/NetworkStateNotifier.h
@@ -129,7 +129,7 @@ inline NetworkStateNotifier::NetworkStateNotifier()
: m_isOnLine(true)
#if PLATFORM(ANDROID)
// TODO: Upstream to webkit.org
- , m_type(Connection::Unknown)
+ , m_type(Connection::UNKNOWN)
#endif
, m_networkStateChangedFunction(0)
{