| 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 // Note: This header should be compilable as C. | 5 // Note: This header should be compilable as C. |
| 6 | 6 |
| 7 #ifndef MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ | 7 #ifndef MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ |
| 8 #define MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ | 8 #define MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ |
| 9 | 9 |
| 10 #include "mojo/public/c/system/buffer.h" | 10 #include "mojo/public/c/system/buffer.h" |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 uint32_t* num_elements, | 94 uint32_t* num_elements, |
| 95 MojoWriteDataFlags flags); | 95 MojoWriteDataFlags flags); |
| 96 MojoResult MojoSystemImplBeginWriteData(MojoSystemImpl system, | 96 MojoResult MojoSystemImplBeginWriteData(MojoSystemImpl system, |
| 97 MojoHandle data_pipe_producer_handle, | 97 MojoHandle data_pipe_producer_handle, |
| 98 void** buffer, | 98 void** buffer, |
| 99 uint32_t* buffer_num_elements, | 99 uint32_t* buffer_num_elements, |
| 100 MojoWriteDataFlags flags); | 100 MojoWriteDataFlags flags); |
| 101 MojoResult MojoSystemImplEndWriteData(MojoSystemImpl system, | 101 MojoResult MojoSystemImplEndWriteData(MojoSystemImpl system, |
| 102 MojoHandle data_pipe_producer_handle, | 102 MojoHandle data_pipe_producer_handle, |
| 103 uint32_t num_elements_written); | 103 uint32_t num_elements_written); |
| 104 MojoResult MojoSystemImplSetDataPipeConsumerOptions( |
| 105 MojoSystemImpl system, |
| 106 MojoHandle data_pipe_consumer_handle, |
| 107 const struct MojoDataPipeConsumerOptions* options); |
| 108 MojoResult MojoSystemImplGetDataPipeConsumerOptions( |
| 109 MojoSystemImpl system, |
| 110 MojoHandle data_pipe_consumer_handle, |
| 111 struct MojoDataPipeConsumerOptions* options, |
| 112 uint32_t options_num_bytes); |
| 104 MojoResult MojoSystemImplReadData(MojoSystemImpl system, | 113 MojoResult MojoSystemImplReadData(MojoSystemImpl system, |
| 105 MojoHandle data_pipe_consumer_handle, | 114 MojoHandle data_pipe_consumer_handle, |
| 106 void* elements, | 115 void* elements, |
| 107 uint32_t* num_elements, | 116 uint32_t* num_elements, |
| 108 MojoReadDataFlags flags); | 117 MojoReadDataFlags flags); |
| 109 MojoResult MojoSystemImplBeginReadData(MojoSystemImpl system, | 118 MojoResult MojoSystemImplBeginReadData(MojoSystemImpl system, |
| 110 MojoHandle data_pipe_consumer_handle, | 119 MojoHandle data_pipe_consumer_handle, |
| 111 const void** buffer, | 120 const void** buffer, |
| 112 uint32_t* buffer_num_elements, | 121 uint32_t* buffer_num_elements, |
| 113 MojoReadDataFlags flags); | 122 MojoReadDataFlags flags); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 135 uint64_t num_bytes, | 144 uint64_t num_bytes, |
| 136 void** buffer, | 145 void** buffer, |
| 137 MojoMapBufferFlags flags); | 146 MojoMapBufferFlags flags); |
| 138 MojoResult MojoSystemImplUnmapBuffer(MojoSystemImpl system, void* buffer); | 147 MojoResult MojoSystemImplUnmapBuffer(MojoSystemImpl system, void* buffer); |
| 139 | 148 |
| 140 #ifdef __cplusplus | 149 #ifdef __cplusplus |
| 141 } // extern "C" | 150 } // extern "C" |
| 142 #endif // __cplusplus | 151 #endif // __cplusplus |
| 143 | 152 |
| 144 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ | 153 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ |
| OLD | NEW |