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

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

Issue 1859123003: Add Mojo{Set,Get}DataPipeConsumerOptions() to the NaCl system thunks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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_THUNKS_H_ 7 #ifndef MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_
8 #define MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_ 8 #define MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_
9 9
10 #include "mojo/public/c/system/buffer.h" 10 #include "mojo/public/c/system/buffer.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 uint32_t* num_elements, 75 uint32_t* num_elements,
76 MojoWriteDataFlags flags); 76 MojoWriteDataFlags flags);
77 MojoResult (*BeginWriteData)(MojoSystemImpl system, 77 MojoResult (*BeginWriteData)(MojoSystemImpl system,
78 MojoHandle data_pipe_producer_handle, 78 MojoHandle data_pipe_producer_handle,
79 void** buffer, 79 void** buffer,
80 uint32_t* buffer_num_elements, 80 uint32_t* buffer_num_elements,
81 MojoWriteDataFlags flags); 81 MojoWriteDataFlags flags);
82 MojoResult (*EndWriteData)(MojoSystemImpl system, 82 MojoResult (*EndWriteData)(MojoSystemImpl system,
83 MojoHandle data_pipe_producer_handle, 83 MojoHandle data_pipe_producer_handle,
84 uint32_t num_elements_written); 84 uint32_t num_elements_written);
85 MojoResult (*SetDataPipeConsumerOptions)(
86 MojoSystemImpl system,
87 MojoHandle data_pipe_consumer_handle,
88 const struct MojoDataPipeConsumerOptions* options);
89 MojoResult (*GetDataPipeConsumerOptions)(
90 MojoSystemImpl system,
91 MojoHandle data_pipe_consumer_handle,
92 struct MojoDataPipeConsumerOptions* options,
93 uint32_t options_num_bytes);
85 MojoResult (*ReadData)(MojoSystemImpl system, 94 MojoResult (*ReadData)(MojoSystemImpl system,
86 MojoHandle data_pipe_consumer_handle, 95 MojoHandle data_pipe_consumer_handle,
87 void* elements, 96 void* elements,
88 uint32_t* num_elements, 97 uint32_t* num_elements,
89 MojoReadDataFlags flags); 98 MojoReadDataFlags flags);
90 MojoResult (*BeginReadData)(MojoSystemImpl system, 99 MojoResult (*BeginReadData)(MojoSystemImpl system,
91 MojoHandle data_pipe_consumer_handle, 100 MojoHandle data_pipe_consumer_handle,
92 const void** buffer, 101 const void** buffer,
93 uint32_t* buffer_num_elements, 102 uint32_t* buffer_num_elements,
94 MojoReadDataFlags flags); 103 MojoReadDataFlags flags);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 MojoSystemImplClose, 146 MojoSystemImplClose,
138 MojoSystemImplWait, 147 MojoSystemImplWait,
139 MojoSystemImplWaitMany, 148 MojoSystemImplWaitMany,
140 MojoSystemImplCreateMessagePipe, 149 MojoSystemImplCreateMessagePipe,
141 MojoSystemImplWriteMessage, 150 MojoSystemImplWriteMessage,
142 MojoSystemImplReadMessage, 151 MojoSystemImplReadMessage,
143 MojoSystemImplCreateDataPipe, 152 MojoSystemImplCreateDataPipe,
144 MojoSystemImplWriteData, 153 MojoSystemImplWriteData,
145 MojoSystemImplBeginWriteData, 154 MojoSystemImplBeginWriteData,
146 MojoSystemImplEndWriteData, 155 MojoSystemImplEndWriteData,
156 MojoSystemImplSetDataPipeConsumerOptions,
157 MojoSystemImplGetDataPipeConsumerOptions,
147 MojoSystemImplReadData, 158 MojoSystemImplReadData,
148 MojoSystemImplBeginReadData, 159 MojoSystemImplBeginReadData,
149 MojoSystemImplEndReadData, 160 MojoSystemImplEndReadData,
150 MojoSystemImplCreateSharedBuffer, 161 MojoSystemImplCreateSharedBuffer,
151 MojoSystemImplDuplicateBufferHandle, 162 MojoSystemImplDuplicateBufferHandle,
152 MojoSystemImplGetBufferInformation, 163 MojoSystemImplGetBufferInformation,
153 MojoSystemImplMapBuffer, 164 MojoSystemImplMapBuffer,
154 MojoSystemImplUnmapBuffer}; 165 MojoSystemImplUnmapBuffer};
155 return system_thunks; 166 return system_thunks;
156 } 167 }
157 #endif 168 #endif
158 169
159 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_ 170 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_SYSTEM_IMPL_PRIVATE_THUNKS_H_
OLDNEW
« no previous file with comments | « mojo/public/platform/native/system_impl_private.h ('k') | mojo/public/platform/native/system_impl_private_thunks.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698