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

Unified Diff: mojo/nacl/monacl_sel_main.cc

Issue 955113002: Rearrange mojo/nacl files. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 10 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/monacl_sel_main.h ('k') | mojo/nacl/monacl_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/nacl/monacl_sel_main.cc
diff --git a/mojo/nacl/monacl_sel_main.cc b/mojo/nacl/monacl_sel_main.cc
deleted file mode 100644
index 631fa6158e23212a720741569c1524a292ca8457..0000000000000000000000000000000000000000
--- a/mojo/nacl/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 "mojo/nacl/monacl_sel_main.h"
-
-#include "mojo/nacl/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 | « mojo/nacl/monacl_sel_main.h ('k') | mojo/nacl/monacl_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698