Index: base/posix/unix_domain_socket_linux.cc |
diff --git a/base/posix/unix_domain_socket_linux.cc b/base/posix/unix_domain_socket_linux.cc |
index 8b3094eedfc8305bc1bd13cf9f9e45b41274ed8f..e85732e9d5e8b9b4a0acbdf64e2e80931cbab100 100644 |
--- a/base/posix/unix_domain_socket_linux.cc |
+++ b/base/posix/unix_domain_socket_linux.cc |
@@ -29,7 +29,7 @@ const size_t UnixDomainSocket::kMaxFileDescriptors = 16; |
// Creates a connected pair of UNIX-domain SOCK_SEQPACKET sockets, and passes |
Luis Héctor Chávez
2017/04/05 14:55:44
nit: You already have documentation in the .h. Thi
shunhsingou
2017/04/06 03:16:35
Done.
|
// ownership of the newly allocated file descriptors to |one| and |two|. |
// Returns true on success. |
-static bool CreateSocketPair(ScopedFD* one, ScopedFD* two) { |
+bool CreateSocketPair(ScopedFD* one, ScopedFD* two) { |
int raw_socks[2]; |
if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, raw_socks) == -1) |
return false; |