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

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

Issue 263683002: Set file tokens for NaCl main nexe if available to enable validation caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: concat filepath literal Created 6 years, 7 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
« no previous file with comments | « components/nacl/renderer/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. 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr 419 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr
420 PP_Var GetCpuFeatureAttrs(); 420 PP_Var GetCpuFeatureAttrs();
421 421
422 /* Posts a message to the JavaScript object for the given instance. 422 /* Posts a message to the JavaScript object for the given instance.
423 * This method may be called on any thread. 423 * This method may be called on any thread.
424 */ 424 */
425 void PostMessageToJavaScript([in] PP_Instance instance, 425 void PostMessageToJavaScript([in] PP_Instance instance,
426 [in] str_t message); 426 [in] str_t message);
427 427
428 /* Downloads the .nexe file at the given URL to a file, and sets |handle| 428 /* Downloads the .nexe file at the given URL to a file, and sets |handle|
429 * to a handle to a file containing its contents. */ 429 * to a handle to a file containing its contents.
430 * If metadata for identity-based validation caching is available
431 * then it sets file_token_lo and file_token_lo (otherwise left untouched).
432 */
430 void DownloadNexe([in] PP_Instance instance, 433 void DownloadNexe([in] PP_Instance instance,
431 [in] str_t url, 434 [in] str_t url,
432 [out] PP_FileHandle handle, 435 [out] PP_FileHandle handle,
436 [out] uint64_t file_token_lo,
437 [out] uint64_t file_token_hi,
433 [in] PP_CompletionCallback callback); 438 [in] PP_CompletionCallback callback);
434 }; 439 };
OLDNEW
« no previous file with comments | « components/nacl/renderer/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