diff options
Diffstat (limited to 'net/http/http_auth_handler.h')
-rw-r--r-- | net/http/http_auth_handler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/http/http_auth_handler.h b/net/http/http_auth_handler.h index 1caf1a4..02a410e 100644 --- a/net/http/http_auth_handler.h +++ b/net/http/http_auth_handler.h @@ -21,8 +21,6 @@ class ProxyInfo; // HttpAuth::CreateAuthHandler(). class HttpAuthHandler : public base::RefCounted<HttpAuthHandler> { public: - virtual ~HttpAuthHandler() { } - // Initialize the handler by parsing a challenge string. bool InitFromChallenge(std::string::const_iterator begin, std::string::const_iterator end, @@ -86,6 +84,10 @@ class HttpAuthHandler : public base::RefCounted<HttpAuthHandler> { IS_CONNECTION_BASED = 1 << 1, }; + friend class base::RefCounted<HttpAuthHandler>; + + virtual ~HttpAuthHandler() { } + // Initialize the handler by parsing a challenge string. // Implementations are expcted to initialize the following members: // scheme_, realm_, score_, properties_ |