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

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

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
« 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 18 matching lines...) Expand all
29 /** 29 /**
30 * The manifest program element does not contain a program usable on the 30 * The manifest program element does not contain a program usable on the
31 * user's architecture 31 * user's architecture
32 */ 32 */
33 PP_NACL_MANIFEST_MISSING_ARCH = 0 33 PP_NACL_MANIFEST_MISSING_ARCH = 0
34 }; 34 };
35 35
36 /* PPB_NaCl_Private */ 36 /* PPB_NaCl_Private */
37 interface PPB_NaCl_Private { 37 interface PPB_NaCl_Private {
38 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and 38 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and
39 * writes a nacl::Handle to imc_handle. Returns PP_NACL_FAILED on failure. 39 * writes a NaClHandle to imc_handle. Returns PP_NACL_FAILED on failure.
40 * The |enable_ppapi_dev| parameter controls whether GetInterface 40 * The |enable_ppapi_dev| parameter controls whether GetInterface
41 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag 41 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag
42 * indicates that the nexe run by sel_ldr will use the PPAPI APIs. 42 * indicates that the nexe run by sel_ldr will use the PPAPI APIs.
43 * This implies that LaunchSelLdr is run from the main thread. If a nexe 43 * This implies that LaunchSelLdr is run from the main thread. If a nexe
44 * does not need PPAPI, then it can run off the main thread. 44 * does not need PPAPI, then it can run off the main thread.
45 * The |uses_irt| flag indicates whether the IRT should be loaded in this 45 * The |uses_irt| flag indicates whether the IRT should be loaded in this
46 * NaCl process. This is true for ABI stable nexes. 46 * NaCl process. This is true for ABI stable nexes.
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,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 PP_Bool IsOffTheRecord(); 106 PP_Bool IsOffTheRecord();
107 107
108 /* Return true if PNaCl is turned on. 108 /* Return true if PNaCl is turned on.
109 */ 109 */
110 PP_Bool IsPnaclEnabled(); 110 PP_Bool IsPnaclEnabled();
111 111
112 /* Display a UI message to the user. */ 112 /* Display a UI message to the user. */
113 PP_NaClResult ReportNaClError([in] PP_Instance instance, 113 PP_NaClResult ReportNaClError([in] PP_Instance instance,
114 [in] PP_NaClError message_id); 114 [in] PP_NaClError message_id);
115 }; 115 };
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