| Index: net/http/http_auth_handler_negotiate_unittest.cc
|
| diff --git a/net/http/http_auth_handler_negotiate_unittest.cc b/net/http/http_auth_handler_negotiate_unittest.cc
|
| index fd467162acee1da749c7cf5e8f4965aa24679252..99593aedd45f11e1d7917090e1a3f0e8d3b4ad6b 100644
|
| --- a/net/http/http_auth_handler_negotiate_unittest.cc
|
| +++ b/net/http/http_auth_handler_negotiate_unittest.cc
|
| @@ -12,6 +12,7 @@
|
| #include "net/base/test_completion_callback.h"
|
| #include "net/dns/mock_host_resolver.h"
|
| #include "net/http/http_request_info.h"
|
| +#include "net/http/http_response_info.h"
|
| #include "net/http/mock_allow_http_auth_preferences.h"
|
| #if defined(OS_ANDROID)
|
| #include "net/android/dummy_spnego_authenticator.h"
|
| @@ -189,10 +190,11 @@ class HttpAuthHandlerNegotiateTest : public PlatformTest {
|
|
|
| #endif // defined(OS_POSIX)
|
|
|
| - int CreateHandler(bool disable_cname_lookup, bool use_port,
|
| - bool synchronous_resolve_mode,
|
| - const std::string& url_string,
|
| - scoped_ptr<HttpAuthHandlerNegotiate>* handler) {
|
| + int CreateHandler(bool disable_cname_lookup,
|
| + bool use_port,
|
| + bool synchronous_resolve_mode,
|
| + const std::string& url_string,
|
| + scoped_ptr<HttpAuthHandlerNegotiate>* handler) {
|
| http_auth_preferences_->set_negotiate_disable_cname_lookup(
|
| disable_cname_lookup);
|
| http_auth_preferences_->set_negotiate_enable_port(use_port);
|
| @@ -205,11 +207,10 @@ class HttpAuthHandlerNegotiateTest : public PlatformTest {
|
| // after creating the handler, and make sure that generic_handler
|
| // no longer holds on to the HttpAuthHandlerNegotiate object.
|
| scoped_ptr<HttpAuthHandler> generic_handler;
|
| - int rv = factory_->CreateAuthHandlerFromString("Negotiate",
|
| - HttpAuth::AUTH_SERVER,
|
| - gurl,
|
| - BoundNetLog(),
|
| - &generic_handler);
|
| + HttpResponseInfo null_response_info;
|
| + int rv = factory_->CreateAuthHandlerFromString(
|
| + "Negotiate", HttpAuth::AUTH_SERVER, null_response_info, gurl,
|
| + BoundNetLog(), &generic_handler);
|
| if (rv != OK)
|
| return rv;
|
| HttpAuthHandlerNegotiate* negotiate_handler =
|
|
|