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

Side by Side Diff: ppapi/api/private/ppb_nacl_private.idl

Issue 11787029: Remove the socket_count parameter from NaCl Launch IPC messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: socket_for_sel_ldr Created 7 years, 11 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
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /* This file contains NaCl private interfaces. */ 6 /* This file contains NaCl private interfaces. */
7 7
8 #inline c 8 #inline c
9 #include "ppapi/c/private/pp_file_handle.h" 9 #include "ppapi/c/private/pp_file_handle.h"
10 #endinl 10 #endinl
(...skipping 19 matching lines...) Expand all
30 enum PP_NaClError { 30 enum PP_NaClError {
31 /** 31 /**
32 * The manifest program element does not contain a program usable on the 32 * The manifest program element does not contain a program usable on the
33 * user's architecture 33 * user's architecture
34 */ 34 */
35 PP_NACL_MANIFEST_MISSING_ARCH = 0 35 PP_NACL_MANIFEST_MISSING_ARCH = 0
36 }; 36 };
37 37
38 /* PPB_NaCl_Private */ 38 /* PPB_NaCl_Private */
39 interface PPB_NaCl_Private { 39 interface PPB_NaCl_Private {
40 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and writes 40 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and
41 * |socket_count| nacl::Handles to imc_handles. Returns PP_NACL_FAILED on 41 * writes a nacl::Handle to imc_handle. Returns PP_NACL_FAILED on failure.
42 * failure. The |enable_ppapi_dev| parameter controls whether GetInterface 42 * The |enable_ppapi_dev| parameter controls whether GetInterface
43 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag 43 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag
44 * indicates that the nexe run by sel_ldr will use the PPAPI APIs. 44 * indicates that the nexe run by sel_ldr will use the PPAPI APIs.
45 * This implies that LaunchSelLdr is run from the main thread. If a nexe 45 * This implies that LaunchSelLdr is run from the main thread. If a nexe
46 * does not need PPAPI, then it can run off the main thread. 46 * does not need PPAPI, then it can run off the main thread.
47 */ 47 */
48 PP_NaClResult LaunchSelLdr([in] PP_Instance instance, 48 PP_NaClResult LaunchSelLdr([in] PP_Instance instance,
49 [in] str_t alleged_url, 49 [in] str_t alleged_url,
50 [in] PP_Bool uses_ppapi, 50 [in] PP_Bool uses_ppapi,
51 [in] PP_Bool enable_ppapi_dev, 51 [in] PP_Bool enable_ppapi_dev,
52 [in] int32_t socket_count, 52 [out] mem_t imc_handle);
53 [out] mem_t imc_handles);
54 53
55 /* This function starts the IPC proxy so the nexe can communicate with the 54 /* This function starts the IPC proxy so the nexe can communicate with the
56 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating 55 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating
57 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with 56 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with
58 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be 57 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be
59 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be 58 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be
60 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC. 59 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC.
61 */ 60 */
62 PP_NaClResult StartPpapiProxy(PP_Instance instance); 61 PP_NaClResult StartPpapiProxy(PP_Instance instance);
63 62
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 PP_Bool IsOffTheRecord(); 105 PP_Bool IsOffTheRecord();
107 106
108 /* Return true if PNaCl is turned on. 107 /* Return true if PNaCl is turned on.
109 */ 108 */
110 PP_Bool IsPnaclEnabled(); 109 PP_Bool IsPnaclEnabled();
111 110
112 /* Display a UI message to the user. */ 111 /* Display a UI message to the user. */
113 PP_NaClResult ReportNaClError([in] PP_Instance instance, 112 PP_NaClResult ReportNaClError([in] PP_Instance instance,
114 [in] PP_NaClError message_id); 113 [in] PP_NaClError message_id);
115 }; 114 };
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698