Index: net/socket/ssl_client_socket_nss.cc |
diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc |
index 273d665b331a98932077027c29fee548304fc6f3..2830fd174ee3fbac71fa9121a4f65765c0b67a0d 100644 |
--- a/net/socket/ssl_client_socket_nss.cc |
+++ b/net/socket/ssl_client_socket_nss.cc |
@@ -70,6 +70,7 @@ |
#include "base/compiler_specific.h" |
#include "base/location.h" |
#include "base/logging.h" |
+#include "base/macros.h" |
#include "base/metrics/histogram_macros.h" |
#include "base/single_thread_task_runner.h" |
#include "base/stl_util.h" |
@@ -2066,7 +2067,7 @@ void SSLClientSocketNSS::Core::UpdateConnectionStatus() { |
} |
void SSLClientSocketNSS::Core::UpdateNextProto() { |
- uint8 buf[256]; |
+ uint8_t buf[256]; |
SSLNextProtoState state; |
unsigned buf_len; |
@@ -2661,11 +2662,11 @@ int SSLClientSocketNSS::Write(IOBuffer* buf, int buf_len, |
return rv; |
} |
-int SSLClientSocketNSS::SetReceiveBufferSize(int32 size) { |
+int SSLClientSocketNSS::SetReceiveBufferSize(int32_t size) { |
return transport_->socket()->SetReceiveBufferSize(size); |
} |
-int SSLClientSocketNSS::SetSendBufferSize(int32 size) { |
+int SSLClientSocketNSS::SetSendBufferSize(int32_t size) { |
return transport_->socket()->SetSendBufferSize(size); |
} |
@@ -2772,7 +2773,7 @@ int SSLClientSocketNSS::InitializeSSLOptions() { |
} |
} |
- for (std::vector<uint16>::const_iterator it = |
+ for (std::vector<uint16_t>::const_iterator it = |
ssl_config_.disabled_cipher_suites.begin(); |
it != ssl_config_.disabled_cipher_suites.end(); ++it) { |
// This will fail if the specified cipher is not implemented by NSS, but |