diff options
Diffstat (limited to 'net/http/http_auth_handler_basic.h')
-rw-r--r-- | net/http/http_auth_handler_basic.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/net/http/http_auth_handler_basic.h b/net/http/http_auth_handler_basic.h index 26003aa..6ecb80a 100644 --- a/net/http/http_auth_handler_basic.h +++ b/net/http/http_auth_handler_basic.h @@ -27,19 +27,15 @@ class HttpAuthHandlerBasic : public HttpAuthHandler { scoped_ptr<HttpAuthHandler>* handler); }; - virtual int GenerateAuthToken(const std::wstring& username, - const std::wstring& password, - const HttpRequestInfo*, - const ProxyInfo*, - std::string* auth_token); - - virtual int GenerateDefaultAuthToken(const HttpRequestInfo* request, - const ProxyInfo* proxy, - std::string* auth_token); - protected: virtual bool Init(HttpAuth::ChallengeTokenizer* challenge); + virtual int GenerateAuthTokenImpl(const std::wstring* username, + const std::wstring* password, + const HttpRequestInfo* request, + CompletionCallback* callback, + std::string* auth_token); + private: ~HttpAuthHandlerBasic() {} }; |