| Index: net/http/http_auth_handler_negotiate.cc
|
| diff --git a/net/http/http_auth_handler_negotiate.cc b/net/http/http_auth_handler_negotiate.cc
|
| index 422ddd729a27cf4dc9c24198c4dc30e0087cd60c..01a056c9d32bb0b4d3f752452fb5b944b2ccb363 100644
|
| --- a/net/http/http_auth_handler_negotiate.cc
|
| +++ b/net/http/http_auth_handler_negotiate.cc
|
| @@ -39,7 +39,7 @@ void HttpAuthHandlerNegotiate::Factory::set_host_resolver(
|
| int HttpAuthHandlerNegotiate::Factory::CreateAuthHandler(
|
| HttpAuthChallengeTokenizer* challenge,
|
| HttpAuth::Target target,
|
| - const GURL& origin,
|
| + const url::Origin& origin,
|
| CreateReason reason,
|
| int digest_nonce_count,
|
| const BoundNetLog& net_log,
|
| @@ -112,8 +112,8 @@ HttpAuthHandlerNegotiate::HttpAuthHandlerNegotiate(
|
| HttpAuthHandlerNegotiate::~HttpAuthHandlerNegotiate() {
|
| }
|
|
|
| -std::string HttpAuthHandlerNegotiate::CreateSPN(
|
| - const AddressList& address_list, const GURL& origin) {
|
| +std::string HttpAuthHandlerNegotiate::CreateSPN(const AddressList& address_list,
|
| + const url::Origin& origin) {
|
| // Kerberos Web Server SPNs are in the form HTTP/<host>:<port> through SSPI,
|
| // and in the form HTTP@<host>:<port> through GSSAPI
|
| // http://msdn.microsoft.com/en-us/library/ms677601%28VS.85%29.aspx
|
| @@ -143,7 +143,7 @@ std::string HttpAuthHandlerNegotiate::CreateSPN(
|
| // Without any command-line flags, Chrome matches the behavior of Firefox
|
| // and IE. Users can override the behavior so aliases are allowed and
|
| // non-standard ports are included.
|
| - int port = origin.EffectiveIntPort();
|
| + int port = origin.port();
|
| std::string server = address_list.canonical_name();
|
| if (server.empty())
|
| server = origin.host();
|
|
|