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

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h

Issue 164373010: Split the PNaCl IRT shim into 3 pieces, and include one piece into IRT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix up mips Created 6 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 The Chromium 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 5
6 #ifndef PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_PNACL_SHIM_H_ 6 #ifndef PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_PNACL_SHIM_H_
7 #define PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_PNACL_SHIM_H_ 7 #define PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_PNACL_SHIM_H_ 1
Mark Seaborn 2014/02/26 22:11:03 Chrome style is not to have the "1" here, so you d
jvoung (off chromium) 2014/02/27 01:39:55 Done.
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 10
11 /** Defines the interface exposed by the generated wrapper code. */ 11 /** Defines the interface exposed by the generated wrapper code. */
12 12
13 /* There is not a typedef for PPP_GetInterface_type, but it is currently 13 /* There is not a typedef for PPP_GetInterface_type, but it is currently
14 * the same as PPB_GetInterface. */ 14 * the same as PPB_GetInterface. */
15 typedef PPB_GetInterface PPP_GetInterface_Type; 15 typedef PPB_GetInterface PPP_GetInterface_Type;
16 16
17 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real); 17 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real);
18 void __set_real_Pnacl_PPPGetInterface(PPP_GetInterface_Type real); 18 void __set_real_Pnacl_PPPGetInterface(PPP_GetInterface_Type real);
19 19
20 const void *__Pnacl_PPBGetInterface(const char *name); 20 const void *__Pnacl_PPBGetInterface(const char *name);
21 const void *__Pnacl_PPPGetInterface(const char *name); 21 const void *__Pnacl_PPPGetInterface(const char *name);
22 22
23 struct __PnaclWrapperInfo { 23 struct __PnaclWrapperInfo {
24 const char* iface_macro; 24 const char* iface_macro;
25 const void* wrapped_iface; 25 const void* wrapped_iface;
26 const void* real_iface; 26 const void* real_iface;
27 }; 27 };
28 28
29 #endif /* PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_PNACL_SHIM_H_ */ 29 #endif /* PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_PNACL_SHIM_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698