OLD | NEW |
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_H_ | 5 #ifndef IPC_IPC_CHANNEL_H_ |
6 #define IPC_IPC_CHANNEL_H_ | 6 #define IPC_IPC_CHANNEL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
| 11 #if defined(OS_POSIX) |
| 12 #include <sys/types.h> |
| 13 #endif |
| 14 |
11 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
12 #include "base/process.h" | 16 #include "base/process.h" |
13 #include "ipc/ipc_channel_handle.h" | 17 #include "ipc/ipc_channel_handle.h" |
14 #include "ipc/ipc_message.h" | 18 #include "ipc/ipc_message.h" |
15 | 19 |
16 namespace IPC { | 20 namespace IPC { |
17 | 21 |
18 //------------------------------------------------------------------------------ | 22 //------------------------------------------------------------------------------ |
19 // See | 23 // See |
20 // http://www.chromium.org/developers/design-documents/inter-process-communicati
on | 24 // http://www.chromium.org/developers/design-documents/inter-process-communicati
on |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 | 226 |
223 private: | 227 private: |
224 // PIMPL to which all channel calls are delegated. | 228 // PIMPL to which all channel calls are delegated. |
225 class ChannelImpl; | 229 class ChannelImpl; |
226 ChannelImpl *channel_impl_; | 230 ChannelImpl *channel_impl_; |
227 }; | 231 }; |
228 | 232 |
229 } // namespace IPC | 233 } // namespace IPC |
230 | 234 |
231 #endif // IPC_IPC_CHANNEL_H_ | 235 #endif // IPC_IPC_CHANNEL_H_ |
OLD | NEW |