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

Side by Side Diff: ipc/unix_domain_socket_util.h

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ipc/test_util_mac.cc ('k') | ipc/unix_domain_socket_util.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 IPC_UNIX_DOMAIN_SOCKET_UTIL_H_ 5 #ifndef IPC_UNIX_DOMAIN_SOCKET_UTIL_H_
6 #define IPC_UNIX_DOMAIN_SOCKET_UTIL_H_ 6 #define IPC_UNIX_DOMAIN_SOCKET_UTIL_H_
7 7
8 #include <stddef.h>
8 #include <sys/types.h> 9 #include <sys/types.h>
9 10
10 #include <string> 11 #include <string>
11 12
12 #include "ipc/ipc_export.h" 13 #include "ipc/ipc_export.h"
13 14
14 namespace base { 15 namespace base {
15 class FilePath; 16 class FilePath;
16 } // namespace base 17 } // namespace base
17 18
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 56
56 // The maximum length of the name of a socket for MODE_NAMED_SERVER or 57 // The maximum length of the name of a socket for MODE_NAMED_SERVER or
57 // MODE_NAMED_CLIENT if you want to pass in your own socket. 58 // MODE_NAMED_CLIENT if you want to pass in your own socket.
58 // The standard size on linux is 108, mac is 104. To maintain consistency 59 // The standard size on linux is 108, mac is 104. To maintain consistency
59 // across platforms we standardize on the smaller value. 60 // across platforms we standardize on the smaller value.
60 static const size_t kMaxSocketNameLength = 104; 61 static const size_t kMaxSocketNameLength = 104;
61 62
62 } // namespace IPC 63 } // namespace IPC
63 64
64 #endif // IPC_UNIX_DOMAIN_SOCKET_UTIL_H_ 65 #endif // IPC_UNIX_DOMAIN_SOCKET_UTIL_H_
OLDNEW
« no previous file with comments | « ipc/test_util_mac.cc ('k') | ipc/unix_domain_socket_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698