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 THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_TRANSPORT_DATA_H_ |
6 #define MOJO_EDK_SYSTEM_TRANSPORT_DATA_H_ | 6 #define THIRD_PARTY_MOJO_SRC_MOJO_EDK_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/memory/aligned_memory.h" | 12 #include "base/memory/aligned_memory.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 #include "mojo/edk/embedder/platform_handle.h" | |
16 #include "mojo/edk/embedder/platform_handle_vector.h" | |
17 #include "mojo/edk/system/dispatcher.h" | |
18 #include "mojo/edk/system/system_impl_export.h" | |
19 #include "mojo/public/cpp/system/macros.h" | 15 #include "mojo/public/cpp/system/macros.h" |
| 16 #include "third_party/mojo/src/mojo/edk/embedder/platform_handle.h" |
| 17 #include "third_party/mojo/src/mojo/edk/embedder/platform_handle_vector.h" |
| 18 #include "third_party/mojo/src/mojo/edk/system/dispatcher.h" |
| 19 #include "third_party/mojo/src/mojo/edk/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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 // responsible for closing them). | 181 // responsible for closing them). |
182 // TODO(vtl): With C++11, change it to a vector of |ScopedPlatformHandle|s. | 182 // TODO(vtl): With C++11, change it to a vector of |ScopedPlatformHandle|s. |
183 embedder::ScopedPlatformHandleVectorPtr platform_handles_; | 183 embedder::ScopedPlatformHandleVectorPtr platform_handles_; |
184 | 184 |
185 MOJO_DISALLOW_COPY_AND_ASSIGN(TransportData); | 185 MOJO_DISALLOW_COPY_AND_ASSIGN(TransportData); |
186 }; | 186 }; |
187 | 187 |
188 } // namespace system | 188 } // namespace system |
189 } // namespace mojo | 189 } // namespace mojo |
190 | 190 |
191 #endif // MOJO_EDK_SYSTEM_TRANSPORT_DATA_H_ | 191 #endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_TRANSPORT_DATA_H_ |
OLD | NEW |