summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/Authentication/AuthenticationManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/Authentication/AuthenticationManager.h')
-rw-r--r--Source/WebKit2/WebProcess/Authentication/AuthenticationManager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebKit2/WebProcess/Authentication/AuthenticationManager.h b/Source/WebKit2/WebProcess/Authentication/AuthenticationManager.h
index 192c91aef..93afe446b 100644
--- a/Source/WebKit2/WebProcess/Authentication/AuthenticationManager.h
+++ b/Source/WebKit2/WebProcess/Authentication/AuthenticationManager.h
@@ -26,6 +26,7 @@
#ifndef AuthenticationManager_h
#define AuthenticationManager_h
+#include "MessageReceiver.h"
#include <wtf/HashMap.h>
namespace CoreIPC {
@@ -45,14 +46,12 @@ class Download;
class PlatformCertificateInfo;
class WebFrame;
-class AuthenticationManager {
+class AuthenticationManager : private CoreIPC::MessageReceiver {
WTF_MAKE_NONCOPYABLE(AuthenticationManager);
public:
static AuthenticationManager& shared();
- void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
-
void didReceiveAuthenticationChallenge(WebFrame*, const WebCore::AuthenticationChallenge&);
void didReceiveAuthenticationChallenge(Download*, const WebCore::AuthenticationChallenge&);
@@ -63,6 +62,8 @@ public:
private:
AuthenticationManager();
+ // CoreIPC::MessageReceiver
+ virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) OVERRIDE;
void didReceiveAuthenticationManagerMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
bool tryUsePlatformCertificateInfoForChallenge(const WebCore::AuthenticationChallenge&, const PlatformCertificateInfo&);