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

Unified Diff: mojo/nacl/irt_mojo_nonsfi.h

Issue 1323823002: Adding nonsfi content handler (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Respond to code review, git cl format 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/nacl/BUILD.gn ('k') | mojo/nacl/irt_mojo_nonsfi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6648b08030441de5dc13b1ced6ebbb08958f9f62
--- /dev/null
+++ b/mojo/nacl/irt_mojo_nonsfi.h
@@ -0,0 +1,23 @@
+// 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"
+
+namespace irtNonsfi {
Mark Seaborn 2015/09/02 23:07:09 Nit: namespace names should be all lower-case -- h
+
+// Used to pass handle to application. If uncalled,
+// the handle defaults to MOJO_HANDLE_INVALID.
+void MojoSetInitialHandle(MojoHandle handle);
+
+// 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 MojoIrtNonsfiQuery(const char* interface_ident,
+ void* table,
+ size_t tablesize);
+
+} // namespace
+#endif // MOJO_NACL_IRT_MOJO_NONSFI_H_
« no previous file with comments | « mojo/nacl/BUILD.gn ('k') | mojo/nacl/irt_mojo_nonsfi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698