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

Unified Diff: base/posix/unix_domain_socket_linux.h

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 6 months 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 | « base/posix/safe_strerror.cc ('k') | base/posix/unix_domain_socket_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/posix/unix_domain_socket_linux.h
diff --git a/base/posix/unix_domain_socket_linux.h b/base/posix/unix_domain_socket_linux.h
index 142cb146b223c048dc993d3538aeb0e02e833c07..94da4b4f9113e6b8305520257cc626ee8dd30619 100644
--- a/base/posix/unix_domain_socket_linux.h
+++ b/base/posix/unix_domain_socket_linux.h
@@ -14,6 +14,8 @@
#include "base/memory/scoped_vector.h"
#include "base/process/process_handle.h"
+namespace base {
+
class Pickle;
class BASE_EXPORT UnixDomainSocket {
@@ -40,7 +42,7 @@ class BASE_EXPORT UnixDomainSocket {
static ssize_t RecvMsg(int fd,
void* msg,
size_t length,
- ScopedVector<base::ScopedFD>* fds);
+ ScopedVector<ScopedFD>* fds);
// Same as RecvMsg above, but also returns the sender's process ID (as seen
// from the caller's namespace). However, before using this function to
@@ -49,8 +51,8 @@ class BASE_EXPORT UnixDomainSocket {
static ssize_t RecvMsgWithPid(int fd,
void* msg,
size_t length,
- ScopedVector<base::ScopedFD>* fds,
- base::ProcessId* pid);
+ ScopedVector<ScopedFD>* fds,
+ ProcessId* pid);
#if !defined(OS_NACL_NONSFI)
// Perform a sendmsg/recvmsg pair.
@@ -92,8 +94,10 @@ class BASE_EXPORT UnixDomainSocket {
void* msg,
size_t length,
int flags,
- ScopedVector<base::ScopedFD>* fds,
- base::ProcessId* pid);
+ ScopedVector<ScopedFD>* fds,
+ ProcessId* pid);
};
+} // namespace base
+
#endif // BASE_POSIX_UNIX_DOMAIN_SOCKET_LINUX_H_
« no previous file with comments | « base/posix/safe_strerror.cc ('k') | base/posix/unix_domain_socket_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698