| OLD | NEW |
| 1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2010 The Native Client 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 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ | 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ |
| 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ | 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ |
| 7 | 7 |
| 8 #include "native_client/src/include/portability.h" | 8 #include "native_client/src/include/portability.h" |
| 9 #include "native_client/src/untrusted/irt/irt_ppapi.h" | 9 #include "native_client/src/untrusted/irt/irt_ppapi.h" |
| 10 | 10 |
| 11 EXTERN_C_BEGIN | 11 EXTERN_C_BEGIN |
| 12 | 12 |
| 13 // Create srpc channel. Manifest file open works after this point. |
| 14 int PpapiPluginPreInit(); |
| 15 |
| 16 // Finish ppapi initialization. |
| 17 int PpapiPluginPostInit(); |
| 18 |
| 13 // The entry point for the main thread of the PPAPI plugin process. | 19 // The entry point for the main thread of the PPAPI plugin process. |
| 14 int PpapiPluginMain(); | 20 int PpapiPluginMain(); |
| 15 | 21 |
| 16 void PpapiPluginRegisterThreadCreator( | 22 void PpapiPluginRegisterThreadCreator( |
| 17 const struct PP_ThreadFunctions* new_funcs); | 23 const struct PP_ThreadFunctions* new_funcs); |
| 18 | 24 |
| 19 void PpapiPluginRegisterDefaultThreadCreator(); | 25 void PpapiPluginRegisterDefaultThreadCreator(); |
| 20 | 26 |
| 21 EXTERN_C_END | 27 EXTERN_C_END |
| 22 | 28 |
| 23 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ | 29 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ |
| OLD | NEW |