diff options
Diffstat (limited to 'chromium/net/http/http_auth_handler_factory.h')
-rw-r--r-- | chromium/net/http/http_auth_handler_factory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/net/http/http_auth_handler_factory.h b/chromium/net/http/http_auth_handler_factory.h index d9b9138cc91..4f1b3b466e5 100644 --- a/chromium/net/http/http_auth_handler_factory.h +++ b/chromium/net/http/http_auth_handler_factory.h @@ -50,7 +50,7 @@ class NET_EXPORT HttpAuthHandlerFactory { HttpAuthHandlerFactory(const HttpAuthHandlerFactory&) = delete; HttpAuthHandlerFactory& operator=(const HttpAuthHandlerFactory&) = delete; - virtual ~HttpAuthHandlerFactory() {} + virtual ~HttpAuthHandlerFactory() = default; // Sets the source of the HTTP authentication preferences. // HttpAuthHandlerFactory doesn't own the preferences, and the @@ -194,7 +194,7 @@ class NET_EXPORT HttpAuthHandlerRegistryFactory // for |scheme|. If a factory object used to exist for |scheme|, it will be // deleted. void RegisterSchemeFactory(const std::string& scheme, - HttpAuthHandlerFactory* factory); + std::unique_ptr<HttpAuthHandlerFactory> factory); // Creates an HttpAuthHandlerRegistryFactory. // |