Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: net/http/http_auth_handler_factory.h

Issue 1414313002: Allow dynamic updating of authentication policies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_auth_handler_factory.h
diff --git a/net/http/http_auth_handler_factory.h b/net/http/http_auth_handler_factory.h
index 1261bedd567645f3e6c5fc3a5e214f2652569297..89c49273d0a995bb059705c5a82344f5e9637075 100644
--- a/net/http/http_auth_handler_factory.h
+++ b/net/http/http_auth_handler_factory.h
@@ -181,12 +181,13 @@ class NET_EXPORT HttpAuthHandlerRegistryFactory
// how Negotiate does SPN generation, by default these should be false.
static HttpAuthHandlerRegistryFactory* Create(
const std::vector<std::string>& supported_schemes,
- URLSecurityManager* security_manager,
HostResolver* host_resolver,
- const std::string& gssapi_library_name,
- const std::string& auth_android_negotiate_account_type,
- bool negotiate_disable_cname_lookup,
- bool negotiate_enable_port);
+ const std::string& gssapi_library_name);
+
+ void SetSecurityManager(URLSecurityManager* security_manager);
+ void SetAndroidAuthNegotiateAccountType(const std::string& account_type);
+ void SetNegotiateDisableCnameLookup(bool negotiate_disable_cname_lookup);
+ void SetNegotiateEnablePort(bool negotiate_enable_port);
// Creates an auth handler by dispatching out to the registered factories
// based on the first token in |challenge|.

Powered by Google App Engine
This is Rietveld 408576698