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

Unified Diff: mojo/nacl/nexe_launcher_nonsfi.h

Issue 1371413003: Refactored launching of nexes to separate file. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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/nexe_launcher_nonsfi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/nacl/nexe_launcher_nonsfi.h
diff --git a/mojo/nacl/nexe_launcher_nonsfi.h b/mojo/nacl/nexe_launcher_nonsfi.h
new file mode 100644
index 0000000000000000000000000000000000000000..43e697a198379aa06537da835720503bed9a4eb4
--- /dev/null
+++ b/mojo/nacl/nexe_launcher_nonsfi.h
@@ -0,0 +1,18 @@
+// 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_NEXE_LAUNCHER_NONSFI_H_
+#define MOJO_NACL_NEXE_LAUNCHER_NONSFI_H_
+
+#include "mojo/public/c/system/types.h"
+#include "native_client/src/public/irt_core.h"
+#include "native_client/src/public/nonsfi/elf_loader.h"
+
+/**
+ * Takes a fd to a nexe, and launches the nexe with the given
+ * MojoHandle.
+ */
+void launch_nexe_nonsfi(int fd, MojoHandle handle);
Petr Hosek 2015/10/01 23:03:57 Since this is C++, shouldn't this live in nacl nam
Sean Klein 2015/10/01 23:24:05 Done.
+
+#endif // MOJO_NACL_NEXE_LAUNCHER_NONSFI_H_
Petr Hosek 2015/10/01 23:03:57 Two spaces between `endif` and `//` (it's weird bu
Sean Klein 2015/10/01 23:24:05 Done.
« no previous file with comments | « mojo/nacl/BUILD.gn ('k') | mojo/nacl/nexe_launcher_nonsfi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698