diff options
author | ahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-20 19:41:58 +0000 |
---|---|---|
committer | ahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-20 19:41:58 +0000 |
commit | dc8b223f8c602c2acfdf41c228706fd7bf768de7 (patch) | |
tree | 60d7cb92c8a74135539d543b94548d2ef17a3b26 /net/http/http_auth_handler_negotiate.h | |
parent | 9d64903037b85944ba90241a77875d1df68ee7fb (diff) | |
download | chromium_src-dc8b223f8c602c2acfdf41c228706fd7bf768de7.zip chromium_src-dc8b223f8c602c2acfdf41c228706fd7bf768de7.tar.gz chromium_src-dc8b223f8c602c2acfdf41c228706fd7bf768de7.tar.bz2 |
Lazy initialization of URLSecurityManager to reduce start-up time.
This addresses XP perf bot regressions:
http://build.chromium.org/buildbot/perf/xp-release-dual-core/startup/report.html?history=50&rev=44850&graph=warm
http://build.chromium.org/buildbot/perf/xp-release-single-core/startup/report.html?history=80&rev=44930&graph=warm
Had to remove const-ness from URLSecurityManager pointers.
BUG=None.
TEST=None.
Review URL: http://codereview.chromium.org/2110016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler_negotiate.h')
-rw-r--r-- | net/http/http_auth_handler_negotiate.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/http/http_auth_handler_negotiate.h b/net/http/http_auth_handler_negotiate.h index 4e993f4..a9af8d4 100644 --- a/net/http/http_auth_handler_negotiate.h +++ b/net/http/http_auth_handler_negotiate.h @@ -81,11 +81,10 @@ class HttpAuthHandlerNegotiate : public HttpAuthHandler { #if defined(OS_WIN) HttpAuthHandlerNegotiate(SSPILibrary* sspi_library, ULONG max_token_length, - const URLSecurityManager* url_security_manager, + URLSecurityManager* url_security_manager, bool disable_cname_lookup, bool use_port); #else - explicit HttpAuthHandlerNegotiate( - const URLSecurityManager* url_security_manager); + explicit HttpAuthHandlerNegotiate(URLSecurityManager* url_security_manager); #endif virtual bool NeedsIdentity(); @@ -134,7 +133,7 @@ class HttpAuthHandlerNegotiate : public HttpAuthHandler { std::wstring spn_; #endif - const URLSecurityManager* url_security_manager_; + URLSecurityManager* url_security_manager_; }; } // namespace net |