| Index: ppapi/nacl_irt/irt_ppapi.h
|
| diff --git a/ppapi/nacl_irt/irt_ppapi.h b/ppapi/nacl_irt/irt_ppapi.h
|
| index 23fbabe87d6e9242daac35c26bf5885bf6777a0a..d1cbbee8cb862ccb9d5263b7b43c1bb7d6840cfa 100644
|
| --- a/ppapi/nacl_irt/irt_ppapi.h
|
| +++ b/ppapi/nacl_irt/irt_ppapi.h
|
| @@ -4,13 +4,8 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/*
|
| - * TODO(mseaborn): Change this to match the filename when NaCl's copy
|
| - * of irt_ppapi.h is removed. For now it is needed to avoid a
|
| - * duplicate definition.
|
| - */
|
| -#ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PPAPI_H_
|
| -#define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PPAPI_H_ 1
|
| +#ifndef PPAPI_NACL_IRT_IRT_PPAPI_H_
|
| +#define PPAPI_NACL_IRT_IRT_PPAPI_H_
|
|
|
| #include <stddef.h>
|
|
|
| @@ -38,4 +33,18 @@ struct PP_ThreadFunctions {
|
| int (*thread_join)(uintptr_t tid);
|
| };
|
|
|
| +/*
|
| + * TODO(mseaborn): Make this unconditional after the definition of the
|
| + * struct has been removed from the NaCl side's irt.h.
|
| + */
|
| +#if !defined(NACL_IRT_PPAPIHOOK_v0_1)
|
| +
|
| +#define NACL_IRT_PPAPIHOOK_v0_1 "nacl-irt-ppapihook-0.1"
|
| +struct nacl_irt_ppapihook {
|
| + int (*ppapi_start)(const struct PP_StartFunctions*);
|
| + void (*ppapi_register_thread_creator)(const struct PP_ThreadFunctions*);
|
| +};
|
| +
|
| +#endif
|
| +
|
| #endif
|
|
|