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 MOJO_EDK_SYSTEM_TRANSPORT_DATA_H_ | 5 #ifndef MOJO_SYSTEM_TRANSPORT_DATA_H_ |
6 #define MOJO_EDK_SYSTEM_TRANSPORT_DATA_H_ | 6 #define MOJO_SYSTEM_TRANSPORT_DATA_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/aligned_memory.h" | 13 #include "base/memory/aligned_memory.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "mojo/edk/embedder/platform_handle.h" | 16 #include "mojo/embedder/platform_handle.h" |
17 #include "mojo/edk/embedder/platform_handle_vector.h" | 17 #include "mojo/embedder/platform_handle_vector.h" |
18 #include "mojo/edk/system/dispatcher.h" | 18 #include "mojo/system/dispatcher.h" |
19 #include "mojo/edk/system/system_impl_export.h" | 19 #include "mojo/system/system_impl_export.h" |
20 | 20 |
21 namespace mojo { | 21 namespace mojo { |
22 namespace system { | 22 namespace system { |
23 | 23 |
24 class Channel; | 24 class Channel; |
25 | 25 |
26 // This class is used by |MessageInTransit| to represent handles (|Dispatcher|s) | 26 // This class is used by |MessageInTransit| to represent handles (|Dispatcher|s) |
27 // in various stages of serialization. | 27 // in various stages of serialization. |
28 // | 28 // |
29 // The stages are: | 29 // The stages are: |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 // responsible for closing them). | 182 // responsible for closing them). |
183 // TODO(vtl): With C++11, change it to a vector of |ScopedPlatformHandles|. | 183 // TODO(vtl): With C++11, change it to a vector of |ScopedPlatformHandles|. |
184 embedder::ScopedPlatformHandleVectorPtr platform_handles_; | 184 embedder::ScopedPlatformHandleVectorPtr platform_handles_; |
185 | 185 |
186 DISALLOW_COPY_AND_ASSIGN(TransportData); | 186 DISALLOW_COPY_AND_ASSIGN(TransportData); |
187 }; | 187 }; |
188 | 188 |
189 } // namespace system | 189 } // namespace system |
190 } // namespace mojo | 190 } // namespace mojo |
191 | 191 |
192 #endif // MOJO_EDK_SYSTEM_TRANSPORT_DATA_H_ | 192 #endif // MOJO_SYSTEM_TRANSPORT_DATA_H_ |
OLD | NEW |