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

Side by Side Diff: ppapi/c/private/ppb_nacl_private.h

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: 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
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 /* From private/ppb_nacl_private.idl modified Mon Feb 10 11:05:29 2014. */ 6 /* From private/ppb_nacl_private.idl modified Fri Feb 14 17:29:03 2014. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_var.h" 16 #include "ppapi/c/pp_var.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 * the association between the cache key and the fd, and copy the 141 * the association between the cache key and the fd, and copy the
142 * nexe into the cache after the translation finishes. 142 * nexe into the cache after the translation finishes.
143 */ 143 */
144 int32_t (*GetNexeFd)(PP_Instance instance, 144 int32_t (*GetNexeFd)(PP_Instance instance,
145 const char* pexe_url, 145 const char* pexe_url,
146 uint32_t abi_version, 146 uint32_t abi_version,
147 uint32_t opt_level, 147 uint32_t opt_level,
148 const char* last_modified, 148 const char* last_modified,
149 const char* etag, 149 const char* etag,
150 PP_Bool has_no_store_header, 150 PP_Bool has_no_store_header,
151 const char* sandbox_isa,
152 const char* extra_flags,
151 PP_Bool* is_hit, 153 PP_Bool* is_hit,
152 PP_FileHandle* nexe_handle, 154 PP_FileHandle* nexe_handle,
153 struct PP_CompletionCallback callback); 155 struct PP_CompletionCallback callback);
154 /* Report to the browser that translation of the pexe for |instance| 156 /* Report to the browser that translation of the pexe for |instance|
155 * has finished, or aborted with an error. If |success| is true, the 157 * has finished, or aborted with an error. If |success| is true, the
156 * browser may then store the translation in the cache. The renderer 158 * browser may then store the translation in the cache. The renderer
157 * must first have called GetNexeFd for the same instance. (The browser is 159 * must first have called GetNexeFd for the same instance. (The browser is
158 * not guaranteed to store the nexe even if |success| is true; if there is 160 * not guaranteed to store the nexe even if |success| is true; if there is
159 * an error on the browser side, or the file is too big for the cache, or 161 * an error on the browser side, or the file is too big for the cache, or
160 * the browser is in incognito mode, no notification will be delivered to 162 * the browser is in incognito mode, no notification will be delivered to
(...skipping 28 matching lines...) Expand all
189 struct PP_Var value); 191 struct PP_Var value);
190 }; 192 };
191 193
192 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 194 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
193 /** 195 /**
194 * @} 196 * @}
195 */ 197 */
196 198
197 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 199 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
198 200
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698