Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: Source/core/page/NavigatorBase.cpp

Issue 23308006: Introduce NavigatorOnLine interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: No change Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/page/NavigatorBase.cpp
diff --git a/Source/core/page/NavigatorBase.cpp b/Source/core/page/NavigatorBase.cpp
index dc89ad58b88acd8caea71f4445ad9cdc8b2c32b0..06c46d4fff7e0bed2bbce36aa7c9223adf29ddaf 100644
--- a/Source/core/page/NavigatorBase.cpp
+++ b/Source/core/page/NavigatorBase.cpp
@@ -27,7 +27,6 @@
#include "config.h"
#include "core/page/NavigatorBase.h"
-#include "core/platform/network/NetworkStateNotifier.h"
#include "wtf/CPU.h"
#include "wtf/text/WTFString.h"
@@ -121,9 +120,4 @@ String NavigatorBase::vendorSub() const
return WEBCORE_NAVIGATOR_VENDOR_SUB;
}
-bool NavigatorBase::onLine() const
-{
- return networkStateNotifier().onLine();
-}
-
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698