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

Unified Diff: nacl_bindings/monacl_sel_main.cc

Issue 1398213003: Refactored Non-SFI and SFI NaCl into separate directories. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nacl_bindings/monacl_sel_main.h ('k') | nacl_bindings_generator/generate_nacl_bindings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nacl_bindings/monacl_sel_main.cc
diff --git a/nacl_bindings/monacl_sel_main.cc b/nacl_bindings/monacl_sel_main.cc
deleted file mode 100644
index 100f16105bb3f8a6498617319529910ef1788b37..0000000000000000000000000000000000000000
--- a/nacl_bindings/monacl_sel_main.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 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.
-
-#include "nacl_bindings/monacl_sel_main.h"
-
-#include "nacl_bindings/mojo_syscall.h"
-#include "native_client/src/public/chrome_main.h"
-#include "native_client/src/public/nacl_app.h"
-
-namespace mojo {
-
-int LaunchNaCl(NaClDesc* nexe_desc,
- NaClDesc* irt_desc,
- int app_argc,
- char* app_argv[],
- MojoHandle handle) {
- NaClChromeMainInit();
-
- struct NaClChromeMainArgs* args = NaClChromeMainArgsCreate();
- args->nexe_desc = nexe_desc;
- args->irt_desc = irt_desc;
-
- args->argc = app_argc;
- args->argv = app_argv;
-
- struct NaClApp* nap = NaClAppCreate();
- InjectMojo(nap, handle);
-
- int exit_status = 1;
- NaClChromeMainStart(nap, args, &exit_status);
- return exit_status;
-}
-
-void NaClExit(int code) {
- ::NaClExit(code);
-}
-
-} // namespace mojo
« no previous file with comments | « nacl_bindings/monacl_sel_main.h ('k') | nacl_bindings_generator/generate_nacl_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698