Index: net/http/http_auth_sspi_win.h |
diff --git a/net/http/http_auth_sspi_win.h b/net/http/http_auth_sspi_win.h |
index c9259202ea670429cd2af22ceb761810fd4b5257..a6fb49e874bbce3e90d2de2c512e4b03558ed1eb 100644 |
--- a/net/http/http_auth_sspi_win.h |
+++ b/net/http/http_auth_sspi_win.h |
@@ -18,8 +18,6 @@ |
#include "net/http/http_auth.h" |
-class GURL; |
- |
namespace net { |
class HttpRequestInfo; |
@@ -89,12 +87,14 @@ class HttpAuthSSPI { |
// Generates an authentication token. |
// The return value is an error code. If it's not |OK|, the value of |
// |*auth_token| is unspecified. |
+ // |spn| is the Service Principal Name of the server that the token is |
+ // being generated for. |
// If this is the first round of a multiple round scheme, credentials are |
// obtained using |*username| and |*password|. If |username| and |password| |
// are NULL, the default credentials are used instead. |
int GenerateAuthToken(const std::wstring* username, |
const std::wstring* password, |
- const GURL& origin, |
+ const std::wstring& spn, |
const HttpRequestInfo* request, |
const ProxyInfo* proxy, |
std::string* auth_token); |
@@ -104,7 +104,7 @@ class HttpAuthSSPI { |
const std::wstring* password); |
int GetNextSecurityToken( |
- const GURL& origin, |
+ const std::wstring& spn, |
const void* in_token, |
int in_token_len, |
void** out_token, |