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

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: clear tokens too 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
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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr 422 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr
423 PP_Var GetCpuFeatureAttrs(); 423 PP_Var GetCpuFeatureAttrs();
424 424
425 /* Posts a message to the JavaScript object for the given instance. 425 /* Posts a message to the JavaScript object for the given instance.
426 * This method may be called on any thread. 426 * This method may be called on any thread.
427 */ 427 */
428 void PostMessageToJavaScript([in] PP_Instance instance, 428 void PostMessageToJavaScript([in] PP_Instance instance,
429 [in] str_t message); 429 [in] str_t message);
430 430
431 /* Downloads the .nexe file at the given URL to a file, and sets |handle| 431 /* Downloads the .nexe file at the given URL to a file, and sets |handle|
432 * to a handle to a file containing its contents. */ 432 * to a handle to a file containing its contents.
433 * If metadata for identity-based validation caching is available
434 * then it sets file_token_lo and file_token_lo (otherwise left untouched).
435 */
433 void DownloadNexe([in] PP_Instance instance, 436 void DownloadNexe([in] PP_Instance instance,
434 [in] str_t url, 437 [in] str_t url,
435 [out] PP_FileHandle handle, 438 [out] PP_FileHandle handle,
439 [out] uint64_t file_token_lo,
440 [out] uint64_t file_token_hi,
436 [in] PP_CompletionCallback callback); 441 [in] PP_CompletionCallback callback);
437 }; 442 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698