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

Side by Side Diff: ipc/ipc_channel_posix.h

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/ipc_channel_nacl.cc ('k') | ipc/ipc_channel_posix.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_IPC_CHANNEL_POSIX_H_ 5 #ifndef IPC_IPC_CHANNEL_POSIX_H_
6 #define IPC_IPC_CHANNEL_POSIX_H_ 6 #define IPC_IPC_CHANNEL_POSIX_H_
7 7
8 #include "ipc/ipc_channel.h" 8 #include "ipc/ipc_channel.h"
9 9
10 #include <stddef.h>
10 #include <sys/socket.h> // for CMSG macros 11 #include <sys/socket.h> // for CMSG macros
11 12
12 #include <queue> 13 #include <queue>
13 #include <set> 14 #include <set>
14 #include <string> 15 #include <string>
15 #include <vector> 16 #include <vector>
16 17
17 #include "base/files/scoped_file.h" 18 #include "base/files/scoped_file.h"
19 #include "base/macros.h"
18 #include "base/message_loop/message_loop.h" 20 #include "base/message_loop/message_loop.h"
19 #include "base/process/process.h" 21 #include "base/process/process.h"
22 #include "build/build_config.h"
20 #include "ipc/ipc_channel_reader.h" 23 #include "ipc/ipc_channel_reader.h"
21 #include "ipc/ipc_message_attachment_set.h" 24 #include "ipc/ipc_message_attachment_set.h"
22 25
23 namespace IPC { 26 namespace IPC {
24 27
25 class IPC_EXPORT ChannelPosix : public Channel, 28 class IPC_EXPORT ChannelPosix : public Channel,
26 public internal::ChannelReader, 29 public internal::ChannelReader,
27 public base::MessageLoopForIO::Watcher { 30 public base::MessageLoopForIO::Watcher {
28 public: 31 public:
29 // |broker| must outlive the newly created object. 32 // |broker| must outlive the newly created object.
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // If non-zero, overrides the process ID sent in the hello message. 212 // If non-zero, overrides the process ID sent in the hello message.
210 static int global_pid_; 213 static int global_pid_;
211 #endif // OS_LINUX 214 #endif // OS_LINUX
212 215
213 DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelPosix); 216 DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelPosix);
214 }; 217 };
215 218
216 } // namespace IPC 219 } // namespace IPC
217 220
218 #endif // IPC_IPC_CHANNEL_POSIX_H_ 221 #endif // IPC_IPC_CHANNEL_POSIX_H_
OLDNEW
« no previous file with comments | « ipc/ipc_channel_nacl.cc ('k') | ipc/ipc_channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698