Index: net/http/http_auth_handler.h |
=================================================================== |
--- net/http/http_auth_handler.h (revision 31079) |
+++ net/http/http_auth_handler.h (working copy) |
@@ -21,8 +21,6 @@ |
// 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 @@ |
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_ |