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

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

Issue 10689012: Add ability to load pnacl resources from DIR_PNACL_COMPONENT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lint Created 8 years, 4 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 #include "ppapi/c/private/pp_file_handle.h" 8 #include "ppapi/c/private/pp_file_handle.h"
9 9
10 /* PPB_NaCl_Private */ 10 /* PPB_NaCl_Private */
11 interface PPB_NaCl_Private_0_8 { 11 interface PPB_NaCl_Private_0_9 {
12 /* This function launches NaCl's sel_ldr process. On success, the function 12 /* This function launches NaCl's sel_ldr process. On success, the function
13 * returns true, otherwise it returns false. When it returns true, it will 13 * returns true, otherwise it returns false. When it returns true, it will
14 * write |socket_count| nacl::Handles to imc_handles. 14 * write |socket_count| nacl::Handles to imc_handles.
15 */ 15 */
16 PP_Bool LaunchSelLdr([in] PP_Instance instance, 16 PP_Bool LaunchSelLdr([in] PP_Instance instance,
17 [in] str_t alleged_url, 17 [in] str_t alleged_url,
18 [in] int32_t socket_count, 18 [in] int32_t socket_count,
19 [out] mem_t imc_handles); 19 [out] mem_t imc_handles);
20 20
21 /* This function starts the PPAPI proxy so the nexe can communicate with the 21 /* This function starts the PPAPI proxy so the nexe can communicate with the
(...skipping 20 matching lines...) Expand all
42 PP_FileHandle GetReadonlyPnaclFd([in] str_t filename); 42 PP_FileHandle GetReadonlyPnaclFd([in] str_t filename);
43 43
44 /* This creates a temporary file that will be deleted by the time 44 /* This creates a temporary file that will be deleted by the time
45 * the last handle is closed (or earlier on POSIX systems), and 45 * the last handle is closed (or earlier on POSIX systems), and
46 * returns a posix handle to that temporary file. 46 * returns a posix handle to that temporary file.
47 */ 47 */
48 PP_FileHandle CreateTemporaryFile([in] PP_Instance instance); 48 PP_FileHandle CreateTemporaryFile([in] PP_Instance instance);
49 49
50 /* Return true if we are off the record. 50 /* Return true if we are off the record.
51 */ 51 */
52 PP_Bool IsOffTheRecord([in] PP_Instance instance); 52 PP_Bool IsOffTheRecord();
53
54 /* Return true if PNaCl is turned on.
55 */
56 PP_Bool IsPnaclEnabled();
53 }; 57 };
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