diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/WebCookieManagerProxy.h')
-rw-r--r-- | Source/WebKit2/UIProcess/WebCookieManagerProxy.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebKit2/UIProcess/WebCookieManagerProxy.h b/Source/WebKit2/UIProcess/WebCookieManagerProxy.h index cf1c15b05..6981c0d06 100644 --- a/Source/WebKit2/UIProcess/WebCookieManagerProxy.h +++ b/Source/WebKit2/UIProcess/WebCookieManagerProxy.h @@ -29,6 +29,7 @@ #include "APIObject.h" #include "GenericCallback.h" #include "ImmutableArray.h" +#include "MessageReceiver.h" #include "WebCookieManagerProxyClient.h" #include <wtf/PassRefPtr.h> #include <wtf/RefPtr.h> @@ -48,7 +49,7 @@ class WebProcessProxy; typedef GenericCallback<WKArrayRef> ArrayCallback; typedef GenericCallback<WKHTTPCookieAcceptPolicy, HTTPCookieAcceptPolicy> HTTPCookieAcceptPolicyCallback; -class WebCookieManagerProxy : public APIObject { +class WebCookieManagerProxy : public APIObject, private CoreIPC::MessageReceiver { public: static const Type APIType = TypeCookieManager; @@ -74,8 +75,6 @@ public: void setCookiePersistentStorage(const String& storagePath, uint32_t storageType); #endif - void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*); - bool shouldTerminate(WebProcessProxy*) const; private: @@ -88,6 +87,8 @@ private: void cookiesDidChange(); + // CoreIPC::MessageReceiver + virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) OVERRIDE; void didReceiveWebCookieManagerProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*); #if PLATFORM(MAC) |