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

Side by Side Diff: mojo/nacl/nonsfi/irt_mojo_nonsfi.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 unified diff | Download patch
« no previous file with comments | « mojo/nacl/nonsfi/irt_mojo_nonsfi.h ('k') | mojo/nacl/nonsfi/monacl_shell_nonsfi.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/nacl/irt_mojo_nonsfi.h" 5 #include "mojo/nacl/nonsfi/irt_mojo_nonsfi.h"
6 6
7 #include "mojo/public/c/system/functions.h" 7 #include "mojo/public/c/system/functions.h"
8 #include "mojo/public/platform/nacl/mojo_irt.h" 8 #include "mojo/public/platform/nacl/mojo_irt.h"
9 #include "native_client/src/public/irt_core.h" 9 #include "native_client/src/public/irt_core.h"
10 10
11 namespace { 11 namespace {
12 12
13 MojoHandle g_mojo_handle = MOJO_HANDLE_INVALID; 13 MojoHandle g_mojo_handle = MOJO_HANDLE_INVALID;
14 14
15 MojoResult _MojoGetInitialHandle(MojoHandle* handle) { 15 MojoResult _MojoGetInitialHandle(MojoHandle* handle) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void* table, 54 void* table,
55 size_t tablesize) { 55 size_t tablesize) {
56 size_t result = nacl_irt_query_list(interface_ident, table, tablesize, 56 size_t result = nacl_irt_query_list(interface_ident, table, tablesize,
57 kIrtInterfaces, sizeof(kIrtInterfaces)); 57 kIrtInterfaces, sizeof(kIrtInterfaces));
58 if (result != 0) 58 if (result != 0)
59 return result; 59 return result;
60 return nacl_irt_query_core(interface_ident, table, tablesize); 60 return nacl_irt_query_core(interface_ident, table, tablesize);
61 } 61 }
62 62
63 } // namespace nacl 63 } // namespace nacl
OLDNEW
« no previous file with comments | « mojo/nacl/nonsfi/irt_mojo_nonsfi.h ('k') | mojo/nacl/nonsfi/monacl_shell_nonsfi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698