| Index: net/http/http_auth_handler_digest.h
|
| diff --git a/net/http/http_auth_handler_digest.h b/net/http/http_auth_handler_digest.h
|
| index 5621c2a85192d3c85545fba0f93e3e3e54d5131b..4c5052fb3be784e9e3329e6bb4888c7ae8fa8590 100644
|
| --- a/net/http/http_auth_handler_digest.h
|
| +++ b/net/http/http_auth_handler_digest.h
|
| @@ -65,13 +65,14 @@ class NET_EXPORT_PRIVATE HttpAuthHandlerDigest : public HttpAuthHandler {
|
| // This factory owns the passed in |nonce_generator|.
|
| void set_nonce_generator(const NonceGenerator* nonce_generator);
|
|
|
| - int CreateAuthHandler(const HttpAuthChallengeTokenizer& challenge,
|
| - HttpAuth::Target target,
|
| - const GURL& origin,
|
| - CreateReason reason,
|
| - int digest_nonce_count,
|
| - const BoundNetLog& net_log,
|
| - scoped_ptr<HttpAuthHandler>* handler) override;
|
| + // HttpAuthHandlerFactory
|
| + scoped_ptr<HttpAuthHandler> CreateAuthHandlerForScheme(
|
| + const std::string& scheme) override;
|
| + scoped_ptr<HttpAuthHandler> CreateAndInitPreemptiveAuthHandler(
|
| + HttpAuthCache::Entry* cache_entry,
|
| + const HttpAuthChallengeTokenizer& tokenizer,
|
| + HttpAuth::Target target,
|
| + const BoundNetLog& net_log) override;
|
|
|
| private:
|
| scoped_ptr<const NonceGenerator> nonce_generator_;
|
| @@ -79,6 +80,7 @@ class NET_EXPORT_PRIVATE HttpAuthHandlerDigest : public HttpAuthHandler {
|
|
|
| HttpAuth::AuthorizationResult HandleAnotherChallenge(
|
| const HttpAuthChallengeTokenizer& challenge) override;
|
| + ~HttpAuthHandlerDigest() override;
|
|
|
| protected:
|
| int Init(const HttpAuthChallengeTokenizer& challenge) override;
|
| @@ -120,7 +122,6 @@ class NET_EXPORT_PRIVATE HttpAuthHandlerDigest : public HttpAuthHandler {
|
| // the handler. The lifetime of the |nonce_generator| must exceed that of this
|
| // handler.
|
| HttpAuthHandlerDigest(int nonce_count, const NonceGenerator* nonce_generator);
|
| - ~HttpAuthHandlerDigest() override;
|
|
|
| // Parse the challenge, saving the results into this instance.
|
| // Returns true on success.
|
|
|