diff options
author | Steve Block <steveblock@google.com> | 2009-12-15 10:12:09 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-12-17 17:41:10 +0000 |
commit | 643ca7872b450ea4efacab6188849e5aac2ba161 (patch) | |
tree | 6982576c228bcd1a7efe98afed544d840751094c /WebCore/platform/network/cf/AuthenticationCF.cpp | |
parent | d026980fde6eb3b01c1fe49441174e89cd1be298 (diff) | |
download | external_webkit-643ca7872b450ea4efacab6188849e5aac2ba161.zip external_webkit-643ca7872b450ea4efacab6188849e5aac2ba161.tar.gz external_webkit-643ca7872b450ea4efacab6188849e5aac2ba161.tar.bz2 |
Merge webkit.org at r51976 : Initial merge by git.
Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
Diffstat (limited to 'WebCore/platform/network/cf/AuthenticationCF.cpp')
-rw-r--r-- | WebCore/platform/network/cf/AuthenticationCF.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/platform/network/cf/AuthenticationCF.cpp b/WebCore/platform/network/cf/AuthenticationCF.cpp index bb05a39..93b62a8 100644 --- a/WebCore/platform/network/cf/AuthenticationCF.cpp +++ b/WebCore/platform/network/cf/AuthenticationCF.cpp @@ -27,9 +27,9 @@ #include "AuthenticationCF.h" #include "AuthenticationChallenge.h" +#include "AuthenticationClient.h" #include "Credential.h" #include "ProtectionSpace.h" -#include "ResourceHandle.h" #include <CFNetwork/CFURLAuthChallengePriv.h> #include <CFNetwork/CFURLCredentialPriv.h> @@ -51,20 +51,20 @@ AuthenticationChallenge::AuthenticationChallenge(const ProtectionSpace& protecti } AuthenticationChallenge::AuthenticationChallenge(CFURLAuthChallengeRef cfChallenge, - ResourceHandle* sourceHandle) + AuthenticationClient* authenticationClient) : AuthenticationChallengeBase(core(CFURLAuthChallengeGetProtectionSpace(cfChallenge)), core(CFURLAuthChallengeGetProposedCredential(cfChallenge)), CFURLAuthChallengeGetPreviousFailureCount(cfChallenge), (CFURLResponseRef)CFURLAuthChallengeGetFailureResponse(cfChallenge), CFURLAuthChallengeGetError(cfChallenge)) - , m_sourceHandle(sourceHandle) + , m_authenticationClient(authenticationClient) , m_cfChallenge(cfChallenge) { } bool AuthenticationChallenge::platformCompare(const AuthenticationChallenge& a, const AuthenticationChallenge& b) { - if (a.sourceHandle() != b.sourceHandle()) + if (a.authenticationClient() != b.authenticationClient()) return false; if (a.cfURLAuthChallengeRef() != b.cfURLAuthChallengeRef()) |