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

Side by Side Diff: ppapi/c/private/ppb_nacl_private.h

Issue 12225154: NaCl: Remove use of the C++ IMC interface; use the C version instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments too Created 7 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) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 /* From private/ppb_nacl_private.idl modified Thu Jan 10 15:59:03 2013. */ 6 /* From private/ppb_nacl_private.idl modified Thu Jan 10 15:59:03 2013. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 * @} 54 * @}
55 */ 55 */
56 56
57 /** 57 /**
58 * @addtogroup Interfaces 58 * @addtogroup Interfaces
59 * @{ 59 * @{
60 */ 60 */
61 /* PPB_NaCl_Private */ 61 /* PPB_NaCl_Private */
62 struct PPB_NaCl_Private_1_0 { 62 struct PPB_NaCl_Private_1_0 {
63 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and 63 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and
64 * writes a nacl::Handle to imc_handle. Returns PP_NACL_FAILED on failure. 64 * writes a NaClHandle to imc_handle. Returns PP_NACL_FAILED on failure.
65 * The |enable_ppapi_dev| parameter controls whether GetInterface 65 * The |enable_ppapi_dev| parameter controls whether GetInterface
66 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag 66 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag
67 * indicates that the nexe run by sel_ldr will use the PPAPI APIs. 67 * indicates that the nexe run by sel_ldr will use the PPAPI APIs.
68 * This implies that LaunchSelLdr is run from the main thread. If a nexe 68 * This implies that LaunchSelLdr is run from the main thread. If a nexe
69 * does not need PPAPI, then it can run off the main thread. 69 * does not need PPAPI, then it can run off the main thread.
70 * The |uses_irt| flag indicates whether the IRT should be loaded in this 70 * The |uses_irt| flag indicates whether the IRT should be loaded in this
71 * NaCl process. This is true for ABI stable nexes. 71 * NaCl process. This is true for ABI stable nexes.
72 */ 72 */
73 PP_NaClResult (*LaunchSelLdr)(PP_Instance instance, 73 PP_NaClResult (*LaunchSelLdr)(PP_Instance instance,
74 const char* alleged_url, 74 const char* alleged_url,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 PP_NaClError message_id); 129 PP_NaClError message_id);
130 }; 130 };
131 131
132 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 132 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
133 /** 133 /**
134 * @} 134 * @}
135 */ 135 */
136 136
137 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 137 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
138 138
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/nacl_entry_points.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698