| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/http/http_auth_handler_negotiate.h" | 5 #include "net/http/http_auth_handler_negotiate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/string_util.h" |
| 9 #include "base/utf_string_conversions.h" |
| 8 #include "net/base/address_family.h" | 10 #include "net/base/address_family.h" |
| 9 #include "net/base/host_resolver.h" | 11 #include "net/base/host_resolver.h" |
| 10 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
| 11 #include "net/http/http_auth_filter.h" | 13 #include "net/http/http_auth_filter.h" |
| 12 #include "net/http/url_security_manager.h" | 14 #include "net/http/url_security_manager.h" |
| 13 | 15 |
| 14 namespace net { | 16 namespace net { |
| 15 | 17 |
| 16 HttpAuthHandlerNegotiate::HttpAuthHandlerNegotiate( | 18 HttpAuthHandlerNegotiate::HttpAuthHandlerNegotiate( |
| 17 AuthLibrary* auth_library, | 19 AuthLibrary* auth_library, |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 resolver_, disable_cname_lookup_, | 309 resolver_, disable_cname_lookup_, |
| 308 use_port_)); | 310 use_port_)); |
| 309 if (!tmp_handler->InitFromChallenge(challenge, target, origin, net_log)) | 311 if (!tmp_handler->InitFromChallenge(challenge, target, origin, net_log)) |
| 310 return ERR_INVALID_RESPONSE; | 312 return ERR_INVALID_RESPONSE; |
| 311 handler->swap(tmp_handler); | 313 handler->swap(tmp_handler); |
| 312 return OK; | 314 return OK; |
| 313 #endif | 315 #endif |
| 314 } | 316 } |
| 315 | 317 |
| 316 } // namespace net | 318 } // namespace net |
| OLD | NEW |