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

Issue 1832863002: [CacheStorage] Make CacheStorage::MatchAllCaches return in order (Closed)

Created:
4 years, 9 months ago by jkarlin
Modified:
4 years, 8 months ago
Reviewers:
nhiroki
CC:
chromium-reviews, darin-cc_chromium.org, jam, jkarlin+watch_chromium.org, nhiroki
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[CacheStorage] Make CacheStorage::MatchAllCaches return in order MatchAllCaches needs to return the response in order of cache creation. So if cache A was created before cache B, and they both have an entry for request Z, then cache A's response for Z should be returned. Previously, the caches raced and the first to find an entry was returned. BUG=568096 Committed: https://crrev.com/a93559cf4b3891e1b03bd93f3e91bbf8b9b993c4 Cr-Commit-Position: refs/heads/master@{#383599}

Patch Set 1 #

Patch Set 2 : Fixes #

Patch Set 3 : Nit #

Patch Set 4 : Add layout test #

Total comments: 4

Patch Set 5 : Fix layout test #

Messages

Total messages: 14 (6 generated)
jkarlin
nhiroki: PTAL, thanks!
4 years, 9 months ago (2016-03-24 16:34:10 UTC) #3
nhiroki
lgtm! (It'd be better to have a layout test for this)
4 years, 9 months ago (2016-03-25 10:53:10 UTC) #4
jkarlin
Thanks. Added a layout test, PTAL!
4 years, 9 months ago (2016-03-25 11:25:48 UTC) #5
nhiroki
Thank you for adding the test! https://codereview.chromium.org/1832863002/diff/60001/content/browser/cache_storage/cache_storage.h File content/browser/cache_storage/cache_storage.h (right): https://codereview.chromium.org/1832863002/diff/60001/content/browser/cache_storage/cache_storage.h#newcode90 content/browser/cache_storage/cache_storage.h:90: // request/response then ...
4 years, 9 months ago (2016-03-25 14:48:35 UTC) #6
jkarlin
PTAL https://codereview.chromium.org/1832863002/diff/60001/content/browser/cache_storage/cache_storage.h File content/browser/cache_storage/cache_storage.h (right): https://codereview.chromium.org/1832863002/diff/60001/content/browser/cache_storage/cache_storage.h#newcode90 content/browser/cache_storage/cache_storage.h:90: // request/response then it is not defined which ...
4 years, 9 months ago (2016-03-25 15:35:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1832863002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1832863002/80001
4 years, 8 months ago (2016-03-28 21:23:48 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-03-28 23:13:34 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-03-28 23:15:34 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a93559cf4b3891e1b03bd93f3e91bbf8b9b993c4
Cr-Commit-Position: refs/heads/master@{#383599}

Powered by Google App Engine
This is Rietveld 408576698