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

Unified Diff: mojo/nacl/sfi/nacl_bindings/irt_entry_mojo.c

Issue 2051163002: Nuke NaCl SFI, part 1. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 6 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/sfi/nacl_bindings/BUILD.gn ('k') | mojo/nacl/sfi/nacl_bindings/mojo_irt.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/nacl/sfi/nacl_bindings/irt_entry_mojo.c
diff --git a/mojo/nacl/sfi/nacl_bindings/irt_entry_mojo.c b/mojo/nacl/sfi/nacl_bindings/irt_entry_mojo.c
deleted file mode 100644
index 5c413ddb6b4dcc5fee94c193e468c30a6712d34f..0000000000000000000000000000000000000000
--- a/mojo/nacl/sfi/nacl_bindings/irt_entry_mojo.c
+++ /dev/null
@@ -1,21 +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/public/platform/nacl/mojo_irt.h"
-#include "native_client/src/public/irt_core.h"
-
-static size_t irt_query(const char* interface_ident,
- void* table, size_t tablesize) {
- // TODO(teravest): Add query for the Mojo IRT interface, when introduced.
- size_t rc = mojo_irt_query(interface_ident, table, tablesize);
- if (rc != 0)
- return rc;
-
- return nacl_irt_query_core(interface_ident, table, tablesize);
-}
-
-void nacl_irt_start(uint32_t* info) {
- nacl_irt_init(info);
- nacl_irt_enter_user_code(info, irt_query);
-}
« no previous file with comments | « mojo/nacl/sfi/nacl_bindings/BUILD.gn ('k') | mojo/nacl/sfi/nacl_bindings/mojo_irt.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698