diff options
Diffstat (limited to 'net/http/http_auth_handler_factory.cc')
-rw-r--r-- | net/http/http_auth_handler_factory.cc | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/net/http/http_auth_handler_factory.cc b/net/http/http_auth_handler_factory.cc index de7ef59..2921b66 100644 --- a/net/http/http_auth_handler_factory.cc +++ b/net/http/http_auth_handler_factory.cc @@ -47,19 +47,12 @@ HttpAuthHandlerRegistryFactory::~HttpAuthHandlerRegistryFactory() { factory_map_.end()); } -void HttpAuthHandlerRegistryFactory::SetFilter(const std::string& scheme, - HttpAuthFilter* filter) { - HttpAuthHandlerFactory* factory = GetSchemeFactory(scheme); - if (factory) - factory->set_filter(filter); -} - -const HttpAuthFilter* HttpAuthHandlerRegistryFactory::GetFilter( - const std::string& scheme) const { +void HttpAuthHandlerRegistryFactory::SetURLSecurityManager( + const std::string& scheme, + const URLSecurityManager* security_manager) { HttpAuthHandlerFactory* factory = GetSchemeFactory(scheme); if (factory) - return factory->filter(); - return NULL; + factory->set_url_security_manager(security_manager); } void HttpAuthHandlerRegistryFactory::RegisterSchemeFactory( |