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 #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 Loading... |
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 Loading... |
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 |
OLD | NEW |