OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MOJO_H_ | 5 #ifndef IPC_IPC_CHANNEL_MOJO_H_ |
6 #define IPC_IPC_CHANNEL_MOJO_H_ | 6 #define IPC_IPC_CHANNEL_MOJO_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
| 12 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
12 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
13 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 17 #include "build/build_config.h" |
14 #include "ipc/ipc_channel.h" | 18 #include "ipc/ipc_channel.h" |
15 #include "ipc/ipc_channel_factory.h" | 19 #include "ipc/ipc_channel_factory.h" |
16 #include "ipc/ipc_export.h" | 20 #include "ipc/ipc_export.h" |
17 #include "ipc/mojo/ipc_message_pipe_reader.h" | 21 #include "ipc/mojo/ipc_message_pipe_reader.h" |
18 #include "ipc/mojo/ipc_mojo_bootstrap.h" | 22 #include "ipc/mojo/ipc_mojo_bootstrap.h" |
19 #include "ipc/mojo/scoped_ipc_support.h" | 23 #include "ipc/mojo/scoped_ipc_support.h" |
20 #include "mojo/public/cpp/system/core.h" | 24 #include "mojo/public/cpp/system/core.h" |
21 #include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h" | 25 #include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h" |
22 | 26 |
23 namespace IPC { | 27 namespace IPC { |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 scoped_ptr<ScopedIPCSupport> ipc_support_; | 172 scoped_ptr<ScopedIPCSupport> ipc_support_; |
169 | 173 |
170 base::WeakPtrFactory<ChannelMojo> weak_factory_; | 174 base::WeakPtrFactory<ChannelMojo> weak_factory_; |
171 | 175 |
172 DISALLOW_COPY_AND_ASSIGN(ChannelMojo); | 176 DISALLOW_COPY_AND_ASSIGN(ChannelMojo); |
173 }; | 177 }; |
174 | 178 |
175 } // namespace IPC | 179 } // namespace IPC |
176 | 180 |
177 #endif // IPC_IPC_CHANNEL_MOJO_H_ | 181 #endif // IPC_IPC_CHANNEL_MOJO_H_ |
OLD | NEW |