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

Side by Side Diff: mojo/nacl/nonsfi/irt_mojo_nonsfi.cc

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 #include "mojo/nacl/nonsfi/irt_mojo_nonsfi.h" 5 #include "mojo/nacl/nonsfi/irt_mojo_nonsfi.h"
6 6
7 #include "mojo/public/c/system/buffer.h" 7 #include "mojo/public/c/system/buffer.h"
8 #include "mojo/public/c/system/data_pipe.h" 8 #include "mojo/public/c/system/data_pipe.h"
9 #include "mojo/public/c/system/handle.h" 9 #include "mojo/public/c/system/handle.h"
10 #include "mojo/public/c/system/message_pipe.h" 10 #include "mojo/public/c/system/message_pipe.h"
(...skipping 12 matching lines...) Expand all
23 const struct nacl_irt_mojo kIrtMojo = { 23 const struct nacl_irt_mojo kIrtMojo = {
24 nacl::MojoGetInitialHandle, 24 nacl::MojoGetInitialHandle,
25 MojoGetTimeTicksNow, 25 MojoGetTimeTicksNow,
26 MojoClose, 26 MojoClose,
27 MojoWait, 27 MojoWait,
28 MojoWaitMany, 28 MojoWaitMany,
29 MojoCreateMessagePipe, 29 MojoCreateMessagePipe,
30 MojoWriteMessage, 30 MojoWriteMessage,
31 MojoReadMessage, 31 MojoReadMessage,
32 MojoCreateDataPipe, 32 MojoCreateDataPipe,
33 MojoSetDataPipeProducerOptions,
34 MojoGetDataPipeProducerOptions,
33 MojoWriteData, 35 MojoWriteData,
34 MojoBeginWriteData, 36 MojoBeginWriteData,
35 MojoEndWriteData, 37 MojoEndWriteData,
36 MojoSetDataPipeConsumerOptions, 38 MojoSetDataPipeConsumerOptions,
37 MojoGetDataPipeConsumerOptions, 39 MojoGetDataPipeConsumerOptions,
38 MojoReadData, 40 MojoReadData,
39 MojoBeginReadData, 41 MojoBeginReadData,
40 MojoEndReadData, 42 MojoEndReadData,
41 MojoCreateSharedBuffer, 43 MojoCreateSharedBuffer,
42 MojoDuplicateBufferHandle, 44 MojoDuplicateBufferHandle,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 void* table, 127 void* table,
126 size_t tablesize) { 128 size_t tablesize) {
127 size_t result = nacl_irt_query_list(interface_ident, table, tablesize, 129 size_t result = nacl_irt_query_list(interface_ident, table, tablesize,
128 kIrtInterfaces, sizeof(kIrtInterfaces)); 130 kIrtInterfaces, sizeof(kIrtInterfaces));
129 if (result != 0) 131 if (result != 0)
130 return result; 132 return result;
131 return nacl_irt_query_core(interface_ident, table, tablesize); 133 return nacl_irt_query_core(interface_ident, table, tablesize);
132 } 134 }
133 135
134 } // namespace nacl 136 } // namespace nacl
OLDNEW
« no previous file with comments | « mojo/edk/embedder/system_impl_private_entrypoints.cc ('k') | mojo/nacl/sfi/nacl_bindings/mojo_irt.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698