summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/WebMediaCacheManagerProxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/WebMediaCacheManagerProxy.h')
-rw-r--r--Source/WebKit2/UIProcess/WebMediaCacheManagerProxy.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/Source/WebKit2/UIProcess/WebMediaCacheManagerProxy.h b/Source/WebKit2/UIProcess/WebMediaCacheManagerProxy.h
index adc68c4ab..48e88e0fc 100644
--- a/Source/WebKit2/UIProcess/WebMediaCacheManagerProxy.h
+++ b/Source/WebKit2/UIProcess/WebMediaCacheManagerProxy.h
@@ -29,17 +29,11 @@
#include "APIObject.h"
#include "GenericCallback.h"
#include "ImmutableArray.h"
-
+#include "MessageReceiver.h"
#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
-namespace CoreIPC {
- class ArgumentDecoder;
- class Connection;
- class MessageID;
-}
-
namespace WebKit {
class WebContext;
@@ -47,7 +41,7 @@ class WebProcessProxy;
typedef GenericCallback<WKArrayRef> ArrayCallback;
-class WebMediaCacheManagerProxy : public APIObject {
+class WebMediaCacheManagerProxy : public APIObject, private CoreIPC::MessageReceiver {
public:
static const Type APIType = TypeMediaCacheManager;
@@ -61,8 +55,6 @@ public:
void clearCacheForHostname(const String&);
void clearCacheForAllHostnames();
- void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
-
bool shouldTerminate(WebProcessProxy*) const;
private:
@@ -71,7 +63,9 @@ private:
virtual Type type() const { return APIType; }
void didGetHostnamesWithMediaCache(const Vector<String>&, uint64_t callbackID);
-
+
+ // CoreIPC::MessageReceiver
+ virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) OVERRIDE;
void didReceiveWebMediaCacheManagerProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
WebContext* m_webContext;