Chromium Code Reviews| 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 // Initialize srpc connection to the browser. Some APIs like manifest file | |
| 14 // opening do not need full ppapi initialization and so can be used after | |
| 15 // this function returns. | |
| 16 int IRTInit(); | |
|
pasko-google - do not use
2011/08/15 16:23:04
google style guide suggests a different naming con
halyavin
2011/08/16 09:05:37
Done.
| |
| 17 | |
| 13 // The entry point for the main thread of the PPAPI plugin process. | 18 // The entry point for the main thread of the PPAPI plugin process. |
| 14 int PpapiPluginMain(); | 19 int PpapiPluginMain(); |
| 15 | 20 |
| 16 void PpapiPluginRegisterThreadCreator( | 21 void PpapiPluginRegisterThreadCreator( |
| 17 const struct PP_ThreadFunctions* new_funcs); | 22 const struct PP_ThreadFunctions* new_funcs); |
| 18 | 23 |
| 19 void PpapiPluginRegisterDefaultThreadCreator(); | 24 void PpapiPluginRegisterDefaultThreadCreator(); |
| 20 | 25 |
| 21 EXTERN_C_END | 26 EXTERN_C_END |
| 22 | 27 |
| 23 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ | 28 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ |
| OLD | NEW |