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

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

Issue 11428063: Add a flag to LaunchSelLdr to skip grabbing a routing_id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 Fri Nov 16 05:20:17 2012. */ 6 /* From private/ppb_nacl_private.idl modified Wed Nov 28 14:20:41 2012. */
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
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_stdint.h" 14 #include "ppapi/c/pp_stdint.h"
15 15
16 #define PPB_NACL_PRIVATE_INTERFACE_1_0 "PPB_NaCl_Private;1.0" 16 #define PPB_NACL_PRIVATE_INTERFACE_1_0 "PPB_NaCl_Private;1.0"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 */ 53 */
54 /* PPB_NaCl_Private */ 54 /* PPB_NaCl_Private */
55 struct PPB_NaCl_Private_1_0 { 55 struct PPB_NaCl_Private_1_0 {
56 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and writes 56 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and writes
57 * |socket_count| nacl::Handles to imc_handles. Returns PP_NACL_FAILED on 57 * |socket_count| nacl::Handles to imc_handles. Returns PP_NACL_FAILED on
58 * failure. The |enable_ppapi_dev| parameter controls whether GetInterface 58 * failure. The |enable_ppapi_dev| parameter controls whether GetInterface
59 * returns 'Dev' interfaces to the NaCl plugin. 59 * returns 'Dev' interfaces to the NaCl plugin.
60 */ 60 */
61 PP_NaClResult (*LaunchSelLdr)(PP_Instance instance, 61 PP_NaClResult (*LaunchSelLdr)(PP_Instance instance,
62 const char* alleged_url, 62 const char* alleged_url,
63 PP_Bool uses_ppapi,
63 PP_Bool enable_ppapi_dev, 64 PP_Bool enable_ppapi_dev,
64 int32_t socket_count, 65 int32_t socket_count,
65 void* imc_handles); 66 void* imc_handles);
66 /* This function starts the IPC proxy so the nexe can communicate with the 67 /* This function starts the IPC proxy so the nexe can communicate with the
67 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating 68 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating
68 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with 69 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with
69 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be 70 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be
70 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be 71 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be
71 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC. 72 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC.
72 */ 73 */
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 PP_Bool (*IsPnaclEnabled)(); 114 PP_Bool (*IsPnaclEnabled)();
114 }; 115 };
115 116
116 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 117 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
117 /** 118 /**
118 * @} 119 * @}
119 */ 120 */
120 121
121 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 122 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
122 123
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698