Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
|
Mark Seaborn
2014/02/15 03:00:52
I see this is partly duplicating the contents of p
hidehiko
2014/02/19 13:05:02
Done.
FYI: I guess we can remove the ppruntime.h
| |
| 5 #ifndef PPAPI_PROXY_PLUGIN_MAIN_IRT_H_ | |
| 6 #define PPAPI_PROXY_PLUGIN_MAIN_IRT_H_ | |
| 7 | |
| 8 #include "ppapi/nacl_irt/irt_ppapi.h" | |
| 9 | |
| 10 #ifdef __cplusplus | |
| 11 extern "C" { | |
| 12 #endif | |
| 13 | |
| 14 // The entry point for the main thread of the PPAPI plugin process. | |
| 15 int PpapiPluginMain(void); | |
| 16 | |
| 17 void PpapiPluginRegisterThreadCreator( | |
| 18 const struct PP_ThreadFunctions* new_funcs); | |
| 19 | |
| 20 // Overwrites the IPC channels for the browser and the renderer by the given | |
| 21 // FD #s. This will be used for non-SFI mode. Must be called before | |
| 22 // PpapiPluginMain is called. | |
| 23 void SetIPCFileDescriptors(int browser_ipc_fd, int renderer_ipc_fd); | |
| 24 | |
| 25 #ifdef __cplusplus | |
| 26 } | |
| 27 #endif | |
| 28 | |
| 29 #endif // PPAPI_PROXY_PLUGIN_MAIN_IRT_H_ | |
| OLD | NEW |