| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |