summaryrefslogtreecommitdiffstats
path: root/ppapi/native_client/src/trusted
diff options
context:
space:
mode:
authordschuff@chromium.org <dschuff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-04 21:34:25 +0000
committerdschuff@chromium.org <dschuff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-04 21:34:25 +0000
commita675c011e16db84fc2022a34d25a8c03bf76cdcd (patch)
tree1ad1e0006ad26f651a85961570ccc8f13ab7746b /ppapi/native_client/src/trusted
parent50c79657b611ac92cbe54dc94ecb2f60d802688b (diff)
downloadchromium_src-a675c011e16db84fc2022a34d25a8c03bf76cdcd.zip
chromium_src-a675c011e16db84fc2022a34d25a8c03bf76cdcd.tar.gz
chromium_src-a675c011e16db84fc2022a34d25a8c03bf76cdcd.tar.bz2
Handle cache-control:no-store header in PNaCl translation cache
Pexe files with the cache-control:no-store header should not be cached. Add a field to the PnaclCacheInfo struct, plumb the value all the way from the plugin to the browser, and treat it basically the same way we currently treat incognito translations (since we currently don't have an off-the-record cache for those). R=jvoung@chromium.org BUG=none, noticed this was missing when doing cleanup Review URL: https://chromiumcodereview.appspot.com/23458015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/native_client/src/trusted')
-rw-r--r--ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc b/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc
index 1a29c70..f4d30bf 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc
@@ -521,6 +521,7 @@ void PnaclCoordinator::BitcodeStreamDidOpen(int32_t pp_error) {
pnacl_options_.opt_level(),
parser.GetHeader("last-modified").c_str(),
parser.GetHeader("etag").c_str(),
+ PP_FromBool(parser.CacheControlNoStore()),
&is_cache_hit_,
temp_nexe_file_->existing_handle(),
cb.pp_completion_callback());