OLD | NEW |
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 MOJO_EDK_SYSTEM_CHANNEL_H_ | 5 #ifndef MOJO_SYSTEM_CHANNEL_H_ |
6 #define MOJO_EDK_SYSTEM_CHANNEL_H_ | 6 #define MOJO_SYSTEM_CHANNEL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
17 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
18 #include "mojo/edk/embedder/scoped_platform_handle.h" | 18 #include "mojo/embedder/scoped_platform_handle.h" |
19 #include "mojo/edk/system/channel_endpoint.h" | |
20 #include "mojo/edk/system/message_in_transit.h" | |
21 #include "mojo/edk/system/message_pipe.h" | |
22 #include "mojo/edk/system/raw_channel.h" | |
23 #include "mojo/edk/system/system_impl_export.h" | |
24 #include "mojo/public/c/system/types.h" | 19 #include "mojo/public/c/system/types.h" |
| 20 #include "mojo/system/channel_endpoint.h" |
| 21 #include "mojo/system/message_in_transit.h" |
| 22 #include "mojo/system/message_pipe.h" |
| 23 #include "mojo/system/raw_channel.h" |
| 24 #include "mojo/system/system_impl_export.h" |
25 | 25 |
26 namespace mojo { | 26 namespace mojo { |
27 | 27 |
28 namespace embedder { | 28 namespace embedder { |
29 class PlatformSupport; | 29 class PlatformSupport; |
30 } | 30 } |
31 | 31 |
32 namespace system { | 32 namespace system { |
33 | 33 |
34 class ChannelEndpoint; | 34 class ChannelEndpoint; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 // The next local ID to try (when allocating new local IDs). Note: It should | 183 // The next local ID to try (when allocating new local IDs). Note: It should |
184 // be checked for existence before use. | 184 // be checked for existence before use. |
185 MessageInTransit::EndpointId next_local_id_; | 185 MessageInTransit::EndpointId next_local_id_; |
186 | 186 |
187 DISALLOW_COPY_AND_ASSIGN(Channel); | 187 DISALLOW_COPY_AND_ASSIGN(Channel); |
188 }; | 188 }; |
189 | 189 |
190 } // namespace system | 190 } // namespace system |
191 } // namespace mojo | 191 } // namespace mojo |
192 | 192 |
193 #endif // MOJO_EDK_SYSTEM_CHANNEL_H_ | 193 #endif // MOJO_SYSTEM_CHANNEL_H_ |
OLD | NEW |