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

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

Issue 356923004: Enable mmap and identity-based validation caching on pnacl-{llc,ld}.nexe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 6 years, 5 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 /* This file contains NaCl private interfaces. This interface is not versioned 6 /* This file contains NaCl private interfaces. This interface is not versioned
7 * and is for internal Chrome use. It may change without notice. */ 7 * and is for internal Chrome use. It may change without notice. */
8 8
9 label Chrome { 9 label Chrome {
10 M25 = 1.0 10 M25 = 1.0
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 * injection only to avoid the linkage problems that occur because the NaCl 212 * injection only to avoid the linkage problems that occur because the NaCl
213 * plugin is built as a separate DLL/DSO 213 * plugin is built as a separate DLL/DSO
214 * (see http://code.google.com/p/chromium/issues/detail?id=114439#c8). 214 * (see http://code.google.com/p/chromium/issues/detail?id=114439#c8).
215 */ 215 */
216 int32_t BrokerDuplicateHandle([in] PP_FileHandle source_handle, 216 int32_t BrokerDuplicateHandle([in] PP_FileHandle source_handle,
217 [in] uint32_t process_id, 217 [in] uint32_t process_id,
218 [out] PP_FileHandle target_handle, 218 [out] PP_FileHandle target_handle,
219 [in] uint32_t desired_access, 219 [in] uint32_t desired_access,
220 [in] uint32_t options); 220 [in] uint32_t options);
221 221
222 /* Returns a read-only file descriptor for a url for pnacl translator tools, 222 /* Returns a read-only (but executable) file descriptor / file info for
223 * or an invalid handle on failure. 223 * a url for pnacl translator tools. Returns an invalid handle on failure.
224 */ 224 */
225 PP_FileHandle GetReadonlyPnaclFd([in] str_t url); 225 void GetReadExecPnaclFd([in] str_t url,
226 [out] PP_NaClFileInfo out_file_info);
226 227
227 /* This creates a temporary file that will be deleted by the time 228 /* This creates a temporary file that will be deleted by the time
228 * the last handle is closed (or earlier on POSIX systems), and 229 * the last handle is closed (or earlier on POSIX systems), and
229 * returns a posix handle to that temporary file. 230 * returns a posix handle to that temporary file.
230 */ 231 */
231 PP_FileHandle CreateTemporaryFile([in] PP_Instance instance); 232 PP_FileHandle CreateTemporaryFile([in] PP_Instance instance);
232 233
233 /* Return the number of processors in the system as reported by the OS */ 234 /* Return the number of processors in the system as reported by the OS */
234 int32_t GetNumberOfProcessors(); 235 int32_t GetNumberOfProcessors();
235 236
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 [in] PP_Bool is_helper_process, 417 [in] PP_Bool is_helper_process,
417 [in] str_t key, 418 [in] str_t key,
418 [out] PP_NaClFileInfo file_info, 419 [out] PP_NaClFileInfo file_info,
419 [in] PP_CompletionCallback callback); 420 [in] PP_CompletionCallback callback);
420 421
421 /* Sets the start time for PNaCl downloading and translation to the current 422 /* Sets the start time for PNaCl downloading and translation to the current
422 * time. 423 * time.
423 */ 424 */
424 void SetPNaClStartTime([in] PP_Instance instance); 425 void SetPNaClStartTime([in] PP_Instance instance);
425 }; 426 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698