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

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

Issue 1382713002: Creating a pexe content handler to translate and run pexes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Tests Added Created 5 years, 2 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 #ifndef MOJO_NACL_NONSFI_IRT_MOJO_NONSFI_H_ 5 #ifndef MOJO_NACL_NONSFI_IRT_MOJO_NONSFI_H_
6 #define MOJO_NACL_NONSFI_IRT_MOJO_NONSFI_H_ 6 #define MOJO_NACL_NONSFI_IRT_MOJO_NONSFI_H_
7 7
8 #include "mojo/public/c/system/functions.h" 8 #include "mojo/public/c/system/functions.h"
9 9
10 extern const struct nacl_irt_private_pnacl_translator_compile
11 nacl_irt_private_pnacl_translator_compile;
Mark Seaborn 2015/10/20 21:32:40 How about putting these in the namespace?
Sean Klein 2015/10/22 21:50:00 Done.
12 extern const struct nacl_irt_private_pnacl_translator_link
13 nacl_irt_private_pnacl_translator_link;
14 extern const struct nacl_irt_resource_open
15 nacl_irt_resource_open;
16
10 namespace nacl { 17 namespace nacl {
11 18
12 // Used to pass handle to application. If uncalled, 19 // Used to pass handle to application. If uncalled,
13 // the handle defaults to MOJO_HANDLE_INVALID. 20 // the handle defaults to MOJO_HANDLE_INVALID.
14 void MojoSetInitialHandle(MojoHandle handle); 21 void MojoSetInitialHandle(MojoHandle handle);
15 22
23 MojoResult _MojoGetInitialHandle(MojoHandle* handle);
Mark Seaborn 2015/10/20 21:32:40 If you're moving this to a header, let's remove th
Sean Klein 2015/10/22 21:50:00 Done.
24
16 // IRT interface query function which may be passed to nacl_irt_nonsfi_entry. 25 // IRT interface query function which may be passed to nacl_irt_nonsfi_entry.
17 // Queries for a mojo interface, then for the irt core. 26 // Queries for a mojo interface, then for the irt core.
18 size_t MojoIrtNonsfiQuery(const char* interface_ident, 27 size_t MojoIrtNonsfiQuery(const char* interface_ident,
19 void* table, 28 void* table,
20 size_t tablesize); 29 size_t tablesize);
21 30
22 } // namespace nacl 31 } // namespace nacl
23 #endif // MOJO_NACL_NONSFI_IRT_MOJO_NONSFI_H_ 32 #endif // MOJO_NACL_NONSFI_IRT_MOJO_NONSFI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698