| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DATA_PIPE_IMPL_H_ | 5 #ifndef MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_ |
| 6 #define MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_ | 6 #define MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "mojo/edk/embedder/platform_handle_vector.h" | 12 #include "mojo/edk/embedder/platform_handle_vector.h" |
| 13 #include "mojo/edk/system/data_pipe.h" | 13 #include "mojo/edk/system/data_pipe.h" |
| 14 #include "mojo/edk/system/handle_signals_state.h" | 14 #include "mojo/edk/system/handle_signals_state.h" |
| 15 #include "mojo/edk/system/memory.h" | 15 #include "mojo/edk/system/memory.h" |
| 16 #include "mojo/edk/system/thread_annotations.h" | 16 #include "mojo/edk/util/thread_annotations.h" |
| 17 #include "mojo/public/c/system/data_pipe.h" | 17 #include "mojo/public/c/system/data_pipe.h" |
| 18 #include "mojo/public/c/system/macros.h" | 18 #include "mojo/public/c/system/macros.h" |
| 19 #include "mojo/public/c/system/types.h" | 19 #include "mojo/public/c/system/types.h" |
| 20 | 20 |
| 21 namespace mojo { | 21 namespace mojo { |
| 22 namespace system { | 22 namespace system { |
| 23 | 23 |
| 24 class Channel; | 24 class Channel; |
| 25 class MessageInTransit; | 25 class MessageInTransit; |
| 26 | 26 |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 struct MOJO_ALIGNAS(8) SerializedDataPipeConsumerDispatcher { | 192 struct MOJO_ALIGNAS(8) SerializedDataPipeConsumerDispatcher { |
| 193 // Only validated (and thus canonicalized) options should be serialized. | 193 // Only validated (and thus canonicalized) options should be serialized. |
| 194 // However, the deserializer must revalidate (as with everything received). | 194 // However, the deserializer must revalidate (as with everything received). |
| 195 MojoCreateDataPipeOptions validated_options; | 195 MojoCreateDataPipeOptions validated_options; |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace system | 198 } // namespace system |
| 199 } // namespace mojo | 199 } // namespace mojo |
| 200 | 200 |
| 201 #endif // MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_ | 201 #endif // MOJO_EDK_SYSTEM_DATA_PIPE_IMPL_H_ |
| OLD | NEW |