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

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: Created 5 years, 4 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
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_

Powered by Google App Engine
This is Rietveld 408576698