Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: mojo/public/platform/native/system_impl_private.h

Issue 1876353006: Add Mojo{Set,Get}DataPipeProducerOptions() to the NaCl system thunks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: gah Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void* bytes, 81 void* bytes,
82 uint32_t* num_bytes, 82 uint32_t* num_bytes,
83 MojoHandle* handles, 83 MojoHandle* handles,
84 uint32_t* num_handles, 84 uint32_t* num_handles,
85 MojoReadMessageFlags flags); 85 MojoReadMessageFlags flags);
86 MojoResult MojoSystemImplCreateDataPipe( 86 MojoResult MojoSystemImplCreateDataPipe(
87 MojoSystemImpl system, 87 MojoSystemImpl system,
88 const struct MojoCreateDataPipeOptions* options, 88 const struct MojoCreateDataPipeOptions* options,
89 MojoHandle* data_pipe_producer_handle, 89 MojoHandle* data_pipe_producer_handle,
90 MojoHandle* data_pipe_consumer_handle); 90 MojoHandle* data_pipe_consumer_handle);
91 MojoResult MojoSystemImplSetDataPipeProducerOptions(
92 MojoSystemImpl system,
93 MojoHandle data_pipe_producer_handle,
94 const struct MojoDataPipeProducerOptions* options);
95 MojoResult MojoSystemImplGetDataPipeProducerOptions(
96 MojoSystemImpl system,
97 MojoHandle data_pipe_producer_handle,
98 struct MojoDataPipeProducerOptions* options,
99 uint32_t options_num_bytes);
91 MojoResult MojoSystemImplWriteData(MojoSystemImpl system, 100 MojoResult MojoSystemImplWriteData(MojoSystemImpl system,
92 MojoHandle data_pipe_producer_handle, 101 MojoHandle data_pipe_producer_handle,
93 const void* elements, 102 const void* elements,
94 uint32_t* num_elements, 103 uint32_t* num_elements,
95 MojoWriteDataFlags flags); 104 MojoWriteDataFlags flags);
96 MojoResult MojoSystemImplBeginWriteData(MojoSystemImpl system, 105 MojoResult MojoSystemImplBeginWriteData(MojoSystemImpl system,
97 MojoHandle data_pipe_producer_handle, 106 MojoHandle data_pipe_producer_handle,
98 void** buffer, 107 void** buffer,
99 uint32_t* buffer_num_elements, 108 uint32_t* buffer_num_elements,
100 MojoWriteDataFlags flags); 109 MojoWriteDataFlags flags);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 uint64_t num_bytes, 153 uint64_t num_bytes,
145 void** buffer, 154 void** buffer,
146 MojoMapBufferFlags flags); 155 MojoMapBufferFlags flags);
147 MojoResult MojoSystemImplUnmapBuffer(MojoSystemImpl system, void* buffer); 156 MojoResult MojoSystemImplUnmapBuffer(MojoSystemImpl system, void* buffer);
148 157
149 #ifdef __cplusplus 158 #ifdef __cplusplus
150 } // extern "C" 159 } // extern "C"
151 #endif // __cplusplus 160 #endif // __cplusplus
152 161
153 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_ 162 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_H_
OLDNEW
« no previous file with comments | « mojo/public/platform/nacl/mojo_irt.h ('k') | mojo/public/platform/native/system_impl_private_thunks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698