summaryrefslogtreecommitdiff
path: root/chromium/net/socket/unix_domain_client_socket_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/socket/unix_domain_client_socket_posix.h')
-rw-r--r--chromium/net/socket/unix_domain_client_socket_posix.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium/net/socket/unix_domain_client_socket_posix.h b/chromium/net/socket/unix_domain_client_socket_posix.h
index 4e2c17d5db6..260b3b9be42 100644
--- a/chromium/net/socket/unix_domain_client_socket_posix.h
+++ b/chromium/net/socket/unix_domain_client_socket_posix.h
@@ -5,9 +5,10 @@
#ifndef NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_
#define NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "net/base/completion_callback.h"
@@ -58,6 +59,7 @@ class NET_EXPORT UnixDomainClientSocket : public StreamSocket {
void GetConnectionAttempts(ConnectionAttempts* out) const override;
void ClearConnectionAttempts() override {}
void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
+ int64_t GetTotalReceivedBytes() const override;
// Socket implementation.
int Read(IOBuffer* buf,
@@ -66,8 +68,8 @@ class NET_EXPORT UnixDomainClientSocket : public StreamSocket {
int Write(IOBuffer* buf,
int buf_len,
const CompletionCallback& callback) override;
- int SetReceiveBufferSize(int32 size) override;
- int SetSendBufferSize(int32 size) override;
+ int SetReceiveBufferSize(int32_t size) override;
+ int SetSendBufferSize(int32_t size) override;
// Releases ownership of underlying SocketDescriptor to caller.
// Internal state is reset so that this object can be used again.