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

Side by Side Diff: base/posix/unix_domain_socket_linux.h

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « base/posix/safe_strerror.h ('k') | base/posix/unix_domain_socket_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_POSIX_UNIX_DOMAIN_SOCKET_LINUX_H_ 5 #ifndef BASE_POSIX_UNIX_DOMAIN_SOCKET_LINUX_H_
6 #define BASE_POSIX_UNIX_DOMAIN_SOCKET_LINUX_H_ 6 #define BASE_POSIX_UNIX_DOMAIN_SOCKET_LINUX_H_
7 7
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 #include <sys/types.h> 10 #include <sys/types.h>
10 #include <vector> 11 #include <vector>
11 12
12 #include "base/base_export.h" 13 #include "base/base_export.h"
13 #include "base/files/scoped_file.h" 14 #include "base/files/scoped_file.h"
14 #include "base/process/process_handle.h" 15 #include "base/process/process_handle.h"
16 #include "build/build_config.h"
15 17
16 namespace base { 18 namespace base {
17 19
18 class Pickle; 20 class Pickle;
19 21
20 class BASE_EXPORT UnixDomainSocket { 22 class BASE_EXPORT UnixDomainSocket {
21 public: 23 public:
22 // Maximum number of file descriptors that can be read by RecvMsg(). 24 // Maximum number of file descriptors that can be read by RecvMsg().
23 static const size_t kMaxFileDescriptors; 25 static const size_t kMaxFileDescriptors;
24 26
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void* msg, 95 void* msg,
94 size_t length, 96 size_t length,
95 int flags, 97 int flags,
96 std::vector<ScopedFD>* fds, 98 std::vector<ScopedFD>* fds,
97 ProcessId* pid); 99 ProcessId* pid);
98 }; 100 };
99 101
100 } // namespace base 102 } // namespace base
101 103
102 #endif // BASE_POSIX_UNIX_DOMAIN_SOCKET_LINUX_H_ 104 #endif // BASE_POSIX_UNIX_DOMAIN_SOCKET_LINUX_H_
OLDNEW
« no previous file with comments | « base/posix/safe_strerror.h ('k') | base/posix/unix_domain_socket_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698