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 7a683bbe74c91b3d23c2105a8de6eb267ad84bae..d71b498daa346950c6ed519e7807c86f6808ae23 100644 |
--- a/net/http/http_auth_handler_ntlm.h |
+++ b/net/http/http_auth_handler_ntlm.h |
@@ -5,6 +5,9 @@ |
#ifndef NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ |
#define NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include "build/build_config.h" |
// This contains the portable and the SSPI implementations for NTLM. |
@@ -24,7 +27,6 @@ |
#include <string> |
-#include "base/basictypes.h" |
#include "base/strings/string16.h" |
#include "net/http/http_auth_handler.h" |
#include "net/http/http_auth_handler_factory.h" |
@@ -67,7 +69,7 @@ class NET_EXPORT_PRIVATE HttpAuthHandlerNTLM : public HttpAuthHandler { |
#if defined(NTLM_PORTABLE) |
// A function that generates n random bytes in the output buffer. |
- typedef void (*GenerateRandomProc)(uint8* output, size_t n); |
+ typedef void (*GenerateRandomProc)(uint8_t* output, size_t n); |
// A function that returns the local host name. Returns an empty string if |
// the local host name is not available. |
@@ -139,9 +141,9 @@ 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 in_token_len, |
+ uint32_t in_token_len, |
void** out_token, |
- uint32* out_token_len); |
+ uint32_t* out_token_len); |
// Create an NTLM SPN to identify the |origin| server. |
static std::string CreateSPN(const GURL& origin); |