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

Issue 23458015: Handle cache-control:no-store header in PNaCl translation cache (Closed)

Created:
7 years, 3 months ago by Derek Schuff
Modified:
7 years, 3 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, raymes+watch_chromium.org, yzshen+watch_chromium.org, piman+watch_chromium.org, native-client-reviews_googlegroups.com, ihf+watch_chromium.org
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221275 Reverted due to iterator use-after-erase in patchset 4. fixed in 5. No idea why it passed the CQ so cleanly but blew up the buildbots so completely. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221525

Patch Set 1 #

Total comments: 4

Patch Set 2 : review comments, and run clang-format #

Patch Set 3 : fix test #

Patch Set 4 : fix warning #

Patch Set 5 : fix iterator use #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -58 lines) Patch
M chrome/browser/nacl_host/pnacl_host.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/nacl_host/pnacl_host.cc View 1 2 3 4 5 chunks +15 lines, -10 lines 0 comments Download
M chrome/browser/nacl_host/pnacl_host_unittest.cc View 1 5 chunks +56 lines, -19 lines 0 comments Download
M chrome/renderer/pepper/ppb_nacl_private_impl.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M components/nacl/common/nacl_host_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/common/pnacl_types.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/common/pnacl_types.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 2 chunks +14 lines, -12 lines 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 3 chunks +15 lines, -13 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Derek Schuff
jvoung: everything jschuh: IPC security dmichael: chrome/renderer/pepper and ppapi/api
7 years, 3 months ago (2013-08-30 21:07:42 UTC) #1
jvoung (off chromium)
lgtm https://codereview.chromium.org/23458015/diff/1/chrome/browser/nacl_host/pnacl_host.cc File chrome/browser/nacl_host/pnacl_host.cc (right): https://codereview.chromium.org/23458015/diff/1/chrome/browser/nacl_host/pnacl_host.cc#newcode272 chrome/browser/nacl_host/pnacl_host.cc:272: !entry->second.cache_info.has_no_store_header; Would it be useful to put these ...
7 years, 3 months ago (2013-08-30 22:19:09 UTC) #2
dmichael (off chromium)
lgtm https://codereview.chromium.org/23458015/diff/1/components/nacl/common/pnacl_types.h File components/nacl/common/pnacl_types.h (right): https://codereview.chromium.org/23458015/diff/1/components/nacl/common/pnacl_types.h#newcode30 components/nacl/common/pnacl_types.h:30: bool has_no_store_header; should you also add initialization for ...
7 years, 3 months ago (2013-09-03 19:04:04 UTC) #3
jschuh
ipc security lgtm.
7 years, 3 months ago (2013-09-03 21:01:03 UTC) #4
Derek Schuff
https://codereview.chromium.org/23458015/diff/1/chrome/browser/nacl_host/pnacl_host.cc File chrome/browser/nacl_host/pnacl_host.cc (right): https://codereview.chromium.org/23458015/diff/1/chrome/browser/nacl_host/pnacl_host.cc#newcode272 chrome/browser/nacl_host/pnacl_host.cc:272: !entry->second.cache_info.has_no_store_header; On 2013/08/30 22:19:09, jvoung (cr) wrote: > Would ...
7 years, 3 months ago (2013-09-03 22:14:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/23458015/11001
7 years, 3 months ago (2013-09-03 22:15:26 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=164814
7 years, 3 months ago (2013-09-03 23:23:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/23458015/25001
7 years, 3 months ago (2013-09-04 04:20:24 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-04 05:33:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/23458015/57001
7 years, 3 months ago (2013-09-04 16:32:45 UTC) #10
commit-bot: I haz the power
Change committed as 221275
7 years, 3 months ago (2013-09-04 21:34:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/23458015/77001
7 years, 3 months ago (2013-09-05 19:46:49 UTC) #12
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 21:46:19 UTC) #13
Message was sent while issue was closed.
Change committed as 221525

Powered by Google App Engine
This is Rietveld 408576698