Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1381)

Unified Diff: net/socket/socket.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/server_socket.cc ('k') | net/socket/socket_descriptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket.h
diff --git a/net/socket/socket.h b/net/socket/socket.h
index 5d9af81f20588d6e421b78c7598aa16755f9b1e8..cda54063f3059e76726c896b5e6ae87508a5f483 100644
--- a/net/socket/socket.h
+++ b/net/socket/socket.h
@@ -5,6 +5,8 @@
#ifndef NET_SOCKET_SOCKET_H_
#define NET_SOCKET_SOCKET_H_
+#include <stdint.h>
+
#include "net/base/completion_callback.h"
#include "net/base/net_export.h"
@@ -49,12 +51,12 @@ class NET_EXPORT Socket {
// Set the receive buffer size (in bytes) for the socket.
// Note: changing this value can affect the TCP window size on some platforms.
// Returns a net error code.
- virtual int SetReceiveBufferSize(int32 size) = 0;
+ virtual int SetReceiveBufferSize(int32_t size) = 0;
// Set the send buffer size (in bytes) for the socket.
// Note: changing this value can affect the TCP window size on some platforms.
// Returns a net error code.
- virtual int SetSendBufferSize(int32 size) = 0;
+ virtual int SetSendBufferSize(int32_t size) = 0;
};
} // namespace net
« no previous file with comments | « net/socket/server_socket.cc ('k') | net/socket/socket_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698