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

Side by Side Diff: mojo/nacl/mojo_interface_nacl_nonsfi.h

Issue 1323823002: Adding nonsfi content handler (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Responding to Code Review Created 5 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MOJO_INTERFACE_NACL_NONSFI_H_
Mark Seaborn 2015/09/01 21:05:46 Style nit: I believe these #define names are suppo
Sean Klein 2015/09/01 22:55:27 Done.
6 #define MOJO_INTERFACE_NACL_NONSFI_H_
7
8 #include "mojo/public/c/system/functions.h"
9 #include "mojo/public/platform/nacl/mojo_irt.h"
Mark Seaborn 2015/09/01 21:05:46 Nit: not needed, following #include-what-you-use.
Sean Klein 2015/09/01 22:55:27 Done.
10 #include "native_client/src/public/irt_core.h"
Mark Seaborn 2015/09/01 21:05:46 Also not needed. You just need stdlib.h for size_
Sean Klein 2015/09/01 22:55:27 Done -- though stdlib is not needed either.
11
12 // Used to pass handle to application. If uncalled,
13 // the handle defaults to MOJO_HANDLE_INVALID.
14 void mojo_set_initial_handle(MojoHandle handle);
Mark Seaborn 2015/09/01 21:05:46 Can you use CamelCase and put these in a namespace
Sean Klein 2015/09/01 22:55:27 Done.
15
16 // Standard mojo nonsfi query function which may be passed to
Mark Seaborn 2015/09/01 21:05:46 Can you say "IRT interface query function" to add
Sean Klein 2015/09/01 22:55:27 Done.
17 // nacl_irt_nonsfi_entry. Queries for a mojo interface, then for
18 // the irt core.
19 size_t mojo_irt_nonsfi_query(const char* interface_ident,
20 void* table, size_t tablesize);
21
22 #endif // MOJO_INTERFACE_NACL_NONSFI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698