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

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.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: rebase Created 6 years, 9 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
(Empty)
1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #ifndef PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_IRT_SHIM_PPAPI_H_
8 #define PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_IRT_SHIM_PPAPI_H_
9
10 #include "ppapi/nacl_irt/irt_ppapi.h"
11
12 #ifdef PNACL_SHIM_AOT
13
14 /* Given a hook for the real irt ppapi start, get a shimmed ppapi_start. */
15 extern int (*real_irt_ppapi_start)(const struct PP_StartFunctions *);
16 extern int irt_shim_ppapi_start(const struct PP_StartFunctions *funcs);
17
18 #else
19
20 /*
21 * A private version of the NACL_IRT_PPAPIHOOK_v0_1, which provides
22 * PNaCl with shimmed IRT interfaces.
23 */
24 #define NACL_IRT_PPAPIHOOK_PNACL_PRIVATE_v0_1 \
25 "nacl-irt-ppapihook-pnacl-private-0.1"
26 extern const struct nacl_irt_ppapihook nacl_irt_ppapihook_pnacl_private;
27
28 #endif
29
30 #endif
OLDNEW
« no previous file with comments | « ppapi/native_client/native_client.gyp ('k') | ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698