summaryrefslogtreecommitdiffstats
path: root/ppapi/api
diff options
context:
space:
mode:
authordschuff@chromium.org <dschuff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-18 20:59:51 +0000
committerdschuff@chromium.org <dschuff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-18 20:59:51 +0000
commitc70916d625a5598baff5d2a7c29fa0d9e9192f4d (patch)
tree8321f6e4b038085439ce5ef01cbf3ab21bc5c09d /ppapi/api
parent57392c45f92dc958a90976137f111d642a6ccde7 (diff)
downloadchromium_src-c70916d625a5598baff5d2a7c29fa0d9e9192f4d.zip
chromium_src-c70916d625a5598baff5d2a7c29fa0d9e9192f4d.tar.gz
chromium_src-c70916d625a5598baff5d2a7c29fa0d9e9192f4d.tar.bz2
Add sandbox ISA and extra compile flag fields to PNaCl translation cache key
Previously there was no indication to the translation cache of what architecture the translated nexes were compiled for. This was not a problem in a world where the architecture of chrome (or Windows) did not change, but this will shortly happen on OSX, and we may support multiple sandboxes in the future. This adds 2 fields to the translation cache info, so that we can differentiate the architectures and retrieve nexes that will actually work. The field for extra compile flags is not being used yet, but may be in the future if we start using machine-specific optimizations. R=jvoung@chromium.org,teravest@chromium.org BUG=316912 Review URL: https://codereview.chromium.org/163433015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251835 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r--ppapi/api/private/ppb_nacl_private.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl
index a674328..718b749 100644
--- a/ppapi/api/private/ppb_nacl_private.idl
+++ b/ppapi/api/private/ppb_nacl_private.idl
@@ -134,6 +134,8 @@ interface PPB_NaCl_Private {
[in] str_t last_modified,
[in] str_t etag,
[in] PP_Bool has_no_store_header,
+ [in] str_t sandbox_isa,
+ [in] str_t extra_flags,
[out] PP_Bool is_hit,
[out] PP_FileHandle nexe_handle,
[in] PP_CompletionCallback callback);