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

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

Issue 163433015: Add sandbox ISA and extra compile flag fields to PNaCl translation cache key (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry upload again Created 6 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 | « 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 * the association between the cache key and the fd, and copy the 127 * the association between the cache key and the fd, and copy the
128 * nexe into the cache after the translation finishes. 128 * nexe into the cache after the translation finishes.
129 */ 129 */
130 int32_t GetNexeFd([in] PP_Instance instance, 130 int32_t GetNexeFd([in] PP_Instance instance,
131 [in] str_t pexe_url, 131 [in] str_t pexe_url,
132 [in] uint32_t abi_version, 132 [in] uint32_t abi_version,
133 [in] uint32_t opt_level, 133 [in] uint32_t opt_level,
134 [in] str_t last_modified, 134 [in] str_t last_modified,
135 [in] str_t etag, 135 [in] str_t etag,
136 [in] PP_Bool has_no_store_header, 136 [in] PP_Bool has_no_store_header,
137 [in] str_t sandbox_isa,
138 [in] str_t extra_flags,
137 [out] PP_Bool is_hit, 139 [out] PP_Bool is_hit,
138 [out] PP_FileHandle nexe_handle, 140 [out] PP_FileHandle nexe_handle,
139 [in] PP_CompletionCallback callback); 141 [in] PP_CompletionCallback callback);
140 142
141 /* Report to the browser that translation of the pexe for |instance| 143 /* Report to the browser that translation of the pexe for |instance|
142 * has finished, or aborted with an error. If |success| is true, the 144 * has finished, or aborted with an error. If |success| is true, the
143 * browser may then store the translation in the cache. The renderer 145 * browser may then store the translation in the cache. The renderer
144 * must first have called GetNexeFd for the same instance. (The browser is 146 * must first have called GetNexeFd for the same instance. (The browser is
145 * not guaranteed to store the nexe even if |success| is true; if there is 147 * not guaranteed to store the nexe even if |success| is true; if there is
146 * an error on the browser side, or the file is too big for the cache, or 148 * an error on the browser side, or the file is too big for the cache, or
(...skipping 27 matching lines...) Expand all
174 [in] uint64_t loaded_bytes, 176 [in] uint64_t loaded_bytes,
175 [in] uint64_t total_bytes); 177 [in] uint64_t total_bytes);
176 178
177 /* Sets a read-only property on the <embed> DOM element that corresponds to 179 /* Sets a read-only property on the <embed> DOM element that corresponds to
178 * the given instance. 180 * the given instance.
179 */ 181 */
180 void SetReadOnlyProperty([in] PP_Instance instance, 182 void SetReadOnlyProperty([in] PP_Instance instance,
181 [in] PP_Var key, 183 [in] PP_Var key,
182 [in] PP_Var value); 184 [in] PP_Var value);
183 }; 185 };
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