OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.h" | 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.h" |
8 | 8 |
| 9 #include <stdint.h> |
| 10 |
9 #include "native_client/src/untrusted/irt/irt.h" | 11 #include "native_client/src/untrusted/irt/irt.h" |
10 #include "ppapi/nacl_irt/irt_ppapi.h" | 12 #include "ppapi/nacl_irt/irt_ppapi.h" |
11 #include "ppapi/nacl_irt/public/irt_ppapi.h" | 13 #include "ppapi/nacl_irt/public/irt_ppapi.h" |
12 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" | 14 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" |
13 | 15 |
14 /* | 16 /* |
15 * Defines a version of the version irt_ppapi_start and of the irt_ppapihook | 17 * Defines a version of the version irt_ppapi_start and of the irt_ppapihook |
16 * that returns a shimmed GetInterface for PNaCl. | 18 * that returns a shimmed GetInterface for PNaCl. |
17 * | 19 * |
18 * The hook will be linked into the IRT but it is considered unstable. | 20 * The hook will be linked into the IRT but it is considered unstable. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 */ | 71 */ |
70 return (*real_irt_ppapi_start)(&wrapped_ppapi_methods); | 72 return (*real_irt_ppapi_start)(&wrapped_ppapi_methods); |
71 } | 73 } |
72 | 74 |
73 #ifndef PNACL_SHIM_AOT | 75 #ifndef PNACL_SHIM_AOT |
74 const struct nacl_irt_ppapihook nacl_irt_ppapihook_pnacl_private = { | 76 const struct nacl_irt_ppapihook nacl_irt_ppapihook_pnacl_private = { |
75 irt_shim_ppapi_start, | 77 irt_shim_ppapi_start, |
76 PpapiPluginRegisterThreadCreator, | 78 PpapiPluginRegisterThreadCreator, |
77 }; | 79 }; |
78 #endif | 80 #endif |
OLD | NEW |