OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <unistd.h> |
| 6 |
5 #include "native_client/src/public/irt_core.h" | 7 #include "native_client/src/public/irt_core.h" |
6 #include "native_client/src/trusted/service_runtime/include/sys/unistd.h" | 8 #include "native_client/src/trusted/service_runtime/include/sys/unistd.h" |
7 #include "native_client/src/untrusted/irt/irt.h" | 9 #include "native_client/src/untrusted/irt/irt.h" |
8 #include "native_client/src/untrusted/irt/irt_private.h" | 10 #include "native_client/src/untrusted/irt/irt_private.h" |
9 #include "ppapi/nacl_irt/irt_manifest.h" | 11 #include "ppapi/nacl_irt/irt_manifest.h" |
10 #include "ppapi/nacl_irt/irt_ppapi.h" | 12 #include "ppapi/nacl_irt/irt_ppapi.h" |
11 #include "ppapi/nacl_irt/plugin_main.h" | 13 #include "ppapi/nacl_irt/plugin_main.h" |
12 #include "ppapi/nacl_irt/public/irt_ppapi.h" | 14 #include "ppapi/nacl_irt/public/irt_ppapi.h" |
13 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.h" | 15 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.h" |
14 | 16 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void* table, size_t tablesize) { | 74 void* table, size_t tablesize) { |
73 size_t result = nacl_irt_query_list(interface_ident, | 75 size_t result = nacl_irt_query_list(interface_ident, |
74 table, | 76 table, |
75 tablesize, | 77 tablesize, |
76 irt_interfaces, | 78 irt_interfaces, |
77 sizeof(irt_interfaces)); | 79 sizeof(irt_interfaces)); |
78 if (result != 0) | 80 if (result != 0) |
79 return result; | 81 return result; |
80 return nacl_irt_query_core(interface_ident, table, tablesize); | 82 return nacl_irt_query_core(interface_ident, table, tablesize); |
81 } | 83 } |
OLD | NEW |