Index: net/http/http_auth_handler_ntlm.h |
diff --git a/net/http/http_auth_handler_ntlm.h b/net/http/http_auth_handler_ntlm.h |
index fed6303f834f0d1e7980a18afe10900691b14569..9067c7e228aee57543a5c2f2d8ece1fdfacb54cb 100644 |
--- a/net/http/http_auth_handler_ntlm.h |
+++ b/net/http/http_auth_handler_ntlm.h |
@@ -23,6 +23,8 @@ |
#include <windows.h> |
#include <security.h> |
#include "net/http/http_auth_sspi_win.h" |
+#elif defined(NTLM_PORTABLE) |
+#include "net/ntlm/ntlm_client.h" |
#endif |
#include <string> |
@@ -142,16 +144,15 @@ class NET_EXPORT_PRIVATE HttpAuthHandlerNTLM : public HttpAuthHandler { |
// Given an input token received from the server, generate the next output |
// token to be sent to the server. |
- int GetNextToken(const void* in_token, |
- uint32_t in_token_len, |
- void** out_token, |
- uint32_t* out_token_len); |
+ ntlm::Buffer GetNextToken(const ntlm::Buffer& in_token); |
// Create an NTLM SPN to identify the |origin| server. |
static std::string CreateSPN(const GURL& origin); |
#if defined(NTLM_SSPI) |
HttpAuthSSPI auth_sspi_; |
+#elif defined(NTLM_PORTABLE) |
+ ntlm::NtlmClient ntlm_client_; |
#endif |
#if defined(NTLM_PORTABLE) |