Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: src/shared/ppapi_proxy/ppruntime.h

Issue 7605029: Extend IRT with nacl_irt_resource_open interface (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: remove empty lines Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698