Chromium Code Reviews| Index: mojo/nacl/irt_mojo_nonsfi.h |
| diff --git a/mojo/nacl/irt_mojo_nonsfi.h b/mojo/nacl/irt_mojo_nonsfi.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3d125e513683717a895e107fb90349954e72c149 |
| --- /dev/null |
| +++ b/mojo/nacl/irt_mojo_nonsfi.h |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MOJO_NACL_IRT_MOJO_NONSFI_H_ |
| +#define MOJO_NACL_IRT_MOJO_NONSFI_H_ |
| + |
| +#include "mojo/public/c/system/functions.h" |
| + |
| +// Used to pass handle to application. If uncalled, |
| +// the handle defaults to MOJO_HANDLE_INVALID. |
| +void MojoSetInitialHandle(MojoHandle handle); |
|
Mark Seaborn
2015/09/02 20:27:16
Can you put both of these into a C++ namespace, pl
Sean Klein
2015/09/02 22:36:19
Done.
|
| + |
| +// IRT interface query function which may be passed to nacl_irt_nonsfi_entry. |
| +// Queries for a mojo interface, then for the irt core. |
| +size_t mojo_irt_nonsfi_query(const char* interface_ident, |
|
Mark Seaborn
2015/09/02 20:27:16
Can you make this CamelCase too?
Sean Klein
2015/09/02 22:36:19
Done.
|
| + void* table, size_t tablesize); |
| + |
| +#endif // MOJO_NACL_IRT_MOJO_NONSFI_H_ |