Index: third_party/WebKit/Source/platform/network/NetworkStateNotifier.h |
diff --git a/third_party/WebKit/Source/core/page/NetworkStateNotifier.h b/third_party/WebKit/Source/platform/network/NetworkStateNotifier.h |
similarity index 97% |
rename from third_party/WebKit/Source/core/page/NetworkStateNotifier.h |
rename to third_party/WebKit/Source/platform/network/NetworkStateNotifier.h |
index 9a04c7ccf6a52ea452e9f548b4eafcebbcc13879..9e67ed696ddc4c72bd0e5c1d8107e4a4a8426b89 100644 |
--- a/third_party/WebKit/Source/core/page/NetworkStateNotifier.h |
+++ b/third_party/WebKit/Source/platform/network/NetworkStateNotifier.h |
@@ -27,8 +27,8 @@ |
#define NetworkStateNotifier_h |
#include <memory> |
-#include "core/CoreExport.h" |
#include "platform/CrossThreadCopier.h" |
+#include "platform/PlatformExport.h" |
#include "platform/WebTaskRunner.h" |
#include "public/platform/WebConnectionType.h" |
#include "wtf/Allocator.h" |
@@ -39,7 +39,7 @@ |
namespace blink { |
-class CORE_EXPORT NetworkStateNotifier { |
+class PLATFORM_EXPORT NetworkStateNotifier { |
WTF_MAKE_NONCOPYABLE(NetworkStateNotifier); |
USING_FAST_MALLOC(NetworkStateNotifier); |
@@ -96,7 +96,7 @@ class CORE_EXPORT NetworkStateNotifier { |
case WebConnectionTypeUnknown: |
return false; |
} |
- ASSERT_NOT_REACHED(); |
+ NOTREACHED(); |
return false; |
} |
@@ -194,7 +194,7 @@ class CORE_EXPORT NetworkStateNotifier { |
ObserverListMap m_onLineStateObservers; |
}; |
-CORE_EXPORT NetworkStateNotifier& networkStateNotifier(); |
+PLATFORM_EXPORT NetworkStateNotifier& networkStateNotifier(); |
} // namespace blink |