summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/NetworkInfo/WebNetworkInfoManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/NetworkInfo/WebNetworkInfoManager.h')
-rw-r--r--Source/WebKit2/WebProcess/NetworkInfo/WebNetworkInfoManager.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/Source/WebKit2/WebProcess/NetworkInfo/WebNetworkInfoManager.h b/Source/WebKit2/WebProcess/NetworkInfo/WebNetworkInfoManager.h
index dfe9afa95..ee3282f4f 100644
--- a/Source/WebKit2/WebProcess/NetworkInfo/WebNetworkInfoManager.h
+++ b/Source/WebKit2/WebProcess/NetworkInfo/WebNetworkInfoManager.h
@@ -28,24 +28,19 @@
#if ENABLE(NETWORK_INFO)
-#include "MessageID.h"
+#include "MessageReceiver.h"
#include "WebCoreArgumentCoders.h"
#include "WebNetworkInfo.h"
#include <wtf/HashSet.h>
#include <wtf/Noncopyable.h>
#include <wtf/text/AtomicString.h>
-namespace CoreIPC {
-class Connection;
-class MessageDecoder;
-}
-
namespace WebKit {
class WebProcess;
class WebPage;
-class WebNetworkInfoManager {
+class WebNetworkInfoManager : private CoreIPC::MessageReceiver {
WTF_MAKE_NONCOPYABLE(WebNetworkInfoManager);
public:
explicit WebNetworkInfoManager(WebProcess*);
@@ -56,10 +51,10 @@ public:
double bandwidth(WebPage*) const;
bool metered(WebPage*) const;
-
- void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&);
-
private:
+ // CoreIPC::MessageReceiver
+ void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&) OVERRIDE;
+
// Implemented in generated WebNetworkInfoManagerMessageReceiver.cpp
void didReceiveWebNetworkInfoManagerMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&);