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

Issue 2958033002: Interface for associating in-memory hint bytes with disk cache entries. (Closed)

Created:
3 years, 5 months ago by Maks Orlovich
Modified:
3 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Interface for associating in-memory hint bytes with disk cache entries. Implementation for it in the mock cache (with off switch) The intent is to implement it in simple cache, and to use it in HttpCache::Transaction to avoid opening entries that would not be usable under present load flags due to caching-hostile headers. BUG=729679 Review-Url: https://codereview.chromium.org/2958033002 Cr-Commit-Position: refs/heads/master@{#498491} Committed: https://chromium.googlesource.com/chromium/src/+/e63bba9024d3397e80e393aed842ba9957385796

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebase merge #

Patch Set 3 : Reword comment based on Gavin's feedback; rebase #

Total comments: 2

Patch Set 4 : Apply pasko's naming suggestion. #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -0 lines) Patch
M net/disk_cache/disk_cache.h View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M net/disk_cache/disk_cache.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M net/http/mock_http_cache.h View 1 2 3 5 chunks +13 lines, -0 lines 0 comments Download
M net/http/mock_http_cache.cc View 1 2 3 4 3 chunks +18 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 38 (22 generated)
Maks Orlovich
Piece #1 of https://codereview.chromium.org/2922973003/
3 years, 5 months ago (2017-06-27 15:34:45 UTC) #4
Randy Smith (Not in Mondays)
On 2017/06/27 15:34:45, Maks Orlovich wrote: > Piece #1 of https://codereview.chromium.org/2922973003/ Maks: Do you need ...
3 years, 5 months ago (2017-06-27 15:37:17 UTC) #5
Maks Orlovich
> Maks: Do you need all of us reviewing this? As noted earlier, I'm inclined ...
3 years, 5 months ago (2017-06-27 15:45:15 UTC) #6
Randy Smith (Not in Mondays)
On 2017/06/27 15:45:15, Maks Orlovich wrote: > > Maks: Do you need all of us ...
3 years, 5 months ago (2017-06-27 15:59:37 UTC) #7
Randy Smith (Not in Mondays)
https://codereview.chromium.org/2958033002/diff/1/net/disk_cache/disk_cache.h File net/disk_cache/disk_cache.h (right): https://codereview.chromium.org/2958033002/diff/1/net/disk_cache/disk_cache.h#newcode193 net/disk_cache/disk_cache.h:193: // - If the entry is not in the ...
3 years, 5 months ago (2017-06-27 21:33:56 UTC) #10
Maks Orlovich
Thanks Randy, this is exactly the part I wanted feedback on. https://codereview.chromium.org/2958033002/diff/1/net/disk_cache/disk_cache.h File net/disk_cache/disk_cache.h (right): ...
3 years, 5 months ago (2017-06-28 13:54:31 UTC) #11
gavinp
lgtm, as long as we clean up the phrasing of the comment mentioned below. https://codereview.chromium.org/2958033002/diff/1/net/disk_cache/disk_cache.h ...
3 years, 4 months ago (2017-08-04 17:33:14 UTC) #12
gavinp
Also, one more thought: why 8 bits. Perhaps it would make sense to grab 12 ...
3 years, 4 months ago (2017-08-04 17:37:23 UTC) #13
Maks Orlovich
Thanks for the feedback, will respond to the rest later, as for this: On 2017/08/04 ...
3 years, 4 months ago (2017-08-04 17:45:28 UTC) #14
gavinp
On 2017/08/04 17:45:28, Maks Orlovich wrote: > Thanks for the feedback, will respond to the ...
3 years, 4 months ago (2017-08-04 18:12:04 UTC) #15
Maks Orlovich
https://codereview.chromium.org/2958033002/diff/1/net/disk_cache/disk_cache.h File net/disk_cache/disk_cache.h (right): https://codereview.chromium.org/2958033002/diff/1/net/disk_cache/disk_cache.h#newcode193 net/disk_cache/disk_cache.h:193: // - If the entry is not in the ...
3 years, 4 months ago (2017-08-23 18:52:06 UTC) #18
Maks Orlovich
Forwarding comment from other CL to here, where it's better to deal with. https://codereview.chromium.org/2958033002/diff/40001/net/disk_cache/disk_cache.h File ...
3 years, 4 months ago (2017-08-23 19:18:11 UTC) #19
gavinp
still lgtm!
3 years, 3 months ago (2017-08-25 17:50:17 UTC) #22
Maks Orlovich
Method name change done https://codereview.chromium.org/2958033002/diff/40001/net/disk_cache/disk_cache.h File net/disk_cache/disk_cache.h (right): https://codereview.chromium.org/2958033002/diff/40001/net/disk_cache/disk_cache.h#newcode239 net/disk_cache/disk_cache.h:239: virtual uint8_t GetMemoryEntryData(const std::string& key); ...
3 years, 3 months ago (2017-08-25 18:36:26 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2958033002/80001
3 years, 3 months ago (2017-08-30 16:22:18 UTC) #34
commit-bot: I haz the power
3 years, 3 months ago (2017-08-30 16:29:20 UTC) #38
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e63bba9024d3397e80e393aed842...

Powered by Google App Engine
This is Rietveld 408576698