| Index: net/http/http_auth_sspi_win.cc
|
| diff --git a/net/http/http_auth_sspi_win.cc b/net/http/http_auth_sspi_win.cc
|
| index d6fedf910e5004e2be6eef91b57d978cf239afd7..c5264cd59b89a7cb4519b4791921f9924ad4a40a 100644
|
| --- a/net/http/http_auth_sspi_win.cc
|
| +++ b/net/http/http_auth_sspi_win.cc
|
| @@ -9,7 +9,6 @@
|
|
|
| #include "base/base64.h"
|
| #include "base/logging.h"
|
| -#include "base/singleton.h"
|
| #include "base/string_util.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "net/base/net_errors.h"
|
| @@ -425,68 +424,4 @@ int DetermineMaxTokenLength(SSPILibrary* library,
|
| return OK;
|
| }
|
|
|
| -class SSPILibraryDefault : public SSPILibrary {
|
| - public:
|
| - SSPILibraryDefault() {}
|
| - virtual ~SSPILibraryDefault() {}
|
| -
|
| - virtual SECURITY_STATUS AcquireCredentialsHandle(LPWSTR pszPrincipal,
|
| - LPWSTR pszPackage,
|
| - unsigned long fCredentialUse,
|
| - void* pvLogonId,
|
| - void* pvAuthData,
|
| - SEC_GET_KEY_FN pGetKeyFn,
|
| - void* pvGetKeyArgument,
|
| - PCredHandle phCredential,
|
| - PTimeStamp ptsExpiry) {
|
| - return ::AcquireCredentialsHandle(pszPrincipal, pszPackage, fCredentialUse,
|
| - pvLogonId, pvAuthData, pGetKeyFn,
|
| - pvGetKeyArgument, phCredential,
|
| - ptsExpiry);
|
| - }
|
| -
|
| - virtual SECURITY_STATUS InitializeSecurityContext(PCredHandle phCredential,
|
| - PCtxtHandle phContext,
|
| - SEC_WCHAR* pszTargetName,
|
| - unsigned long fContextReq,
|
| - unsigned long Reserved1,
|
| - unsigned long TargetDataRep,
|
| - PSecBufferDesc pInput,
|
| - unsigned long Reserved2,
|
| - PCtxtHandle phNewContext,
|
| - PSecBufferDesc pOutput,
|
| - unsigned long* contextAttr,
|
| - PTimeStamp ptsExpiry) {
|
| - return ::InitializeSecurityContext(phCredential, phContext, pszTargetName,
|
| - fContextReq, Reserved1, TargetDataRep,
|
| - pInput, Reserved2, phNewContext, pOutput,
|
| - contextAttr, ptsExpiry);
|
| - }
|
| -
|
| - virtual SECURITY_STATUS QuerySecurityPackageInfo(LPWSTR pszPackageName,
|
| - PSecPkgInfoW *pkgInfo) {
|
| - return ::QuerySecurityPackageInfo(pszPackageName, pkgInfo);
|
| - }
|
| -
|
| - virtual SECURITY_STATUS FreeCredentialsHandle(PCredHandle phCredential) {
|
| - return ::FreeCredentialsHandle(phCredential);
|
| - }
|
| -
|
| - virtual SECURITY_STATUS DeleteSecurityContext(PCtxtHandle phContext) {
|
| - return ::DeleteSecurityContext(phContext);
|
| - }
|
| -
|
| - virtual SECURITY_STATUS FreeContextBuffer(PVOID pvContextBuffer) {
|
| - return ::FreeContextBuffer(pvContextBuffer);
|
| - }
|
| -
|
| - private:
|
| - friend struct DefaultSingletonTraits<SSPILibraryDefault>;
|
| -};
|
| -
|
| -// static
|
| -SSPILibrary* SSPILibrary::GetDefault() {
|
| - return Singleton<SSPILibraryDefault>::get();
|
| -}
|
| -
|
| } // namespace net
|
|
|