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

Issue 2137833002: CacheStorage: Introduce QueryCache algorithm. (Closed)

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

Description

CacheStorage: Introduce QueryCache algorithm. This CL is introducing QueryCache[1] algorithm. The algorithm is used to get requestResponseArray from target storage. (e.g. in matchAll()) This CL is triggered from a comment in [2]. [1] http://slightlyoff.github.io/ServiceWorker/spec/service_worker/#query-cache-algorithm [2] https://codereview.chromium.org/1719103002/diff/100001/content/browser/cache_storage/cache_storage_cache.cc#newcode1253 BUG=none TEST=existing tests Committed: https://crrev.com/75bb5a5bbf404324c5eb6f8d26d2581fb1a13f25 Cr-Commit-Position: refs/heads/master@{#408381}

Patch Set 1 #

Patch Set 2 #

Total comments: 18

Patch Set 3 : addressed comments #

Patch Set 4 : reupload #

Total comments: 2

Patch Set 5 : fix win bot failing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -217 lines) Patch
M content/browser/cache_storage/cache_storage_cache.h View 1 2 3 4 6 chunks +33 lines, -20 lines 0 comments Download
M content/browser/cache_storage/cache_storage_cache.cc View 1 2 3 4 7 chunks +170 lines, -197 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
zino
PTAL owners. Sorry, too late. I'm not sure if this is a right way. Could ...
4 years, 5 months ago (2016-07-11 17:09:04 UTC) #3
zino
Gentle ping PTAL.
4 years, 5 months ago (2016-07-20 05:18:27 UTC) #4
nhiroki
Sorry for the delayed reply. https://codereview.chromium.org/2137833002/diff/20001/content/browser/cache_storage/cache_storage_cache.cc File content/browser/cache_storage/cache_storage_cache.cc (right): https://codereview.chromium.org/2137833002/diff/20001/content/browser/cache_storage/cache_storage_cache.cc#newcode327 content/browser/cache_storage/cache_storage_cache.cc:327: base::Passed(std::move(request)), match_params, pending_callback)); nit: ...
4 years, 5 months ago (2016-07-20 15:44:17 UTC) #5
zino
Thank you for review. I addressed comments. PTAL. https://codereview.chromium.org/2137833002/diff/20001/content/browser/cache_storage/cache_storage_cache.cc File content/browser/cache_storage/cache_storage_cache.cc (right): https://codereview.chromium.org/2137833002/diff/20001/content/browser/cache_storage/cache_storage_cache.cc#newcode327 content/browser/cache_storage/cache_storage_cache.cc:327: base::Passed(std::move(request)), ...
4 years, 5 months ago (2016-07-24 10:14:04 UTC) #6
nhiroki
I cannot see changes in cache_storage_cache.cc on the patchset 3. Could you re-upload it?
4 years, 5 months ago (2016-07-24 13:50:41 UTC) #7
zino
On 2016/07/24 13:50:41, nhiroki (slow) wrote: > I cannot see changes in cache_storage_cache.cc on the ...
4 years, 5 months ago (2016-07-24 16:37:10 UTC) #8
zino
On 2016/07/24 13:50:41, nhiroki (slow) wrote: > I cannot see changes in cache_storage_cache.cc on the ...
4 years, 5 months ago (2016-07-24 16:37:11 UTC) #9
nhiroki
LGTM with a minor comment https://codereview.chromium.org/2137833002/diff/60001/content/browser/cache_storage/cache_storage_cache.cc File content/browser/cache_storage/cache_storage_cache.cc (right): https://codereview.chromium.org/2137833002/diff/60001/content/browser/cache_storage/cache_storage_cache.cc#newcode1403 content/browser/cache_storage/cache_storage_cache.cc:1403: GURL request_url, const GURL&
4 years, 5 months ago (2016-07-25 05:11:45 UTC) #10
zino
On 2016/07/25 05:11:45, nhiroki wrote: > LGTM with a minor comment > > https://codereview.chromium.org/2137833002/diff/60001/content/browser/cache_storage/cache_storage_cache.cc > ...
4 years, 4 months ago (2016-07-28 00:46:02 UTC) #11
jkarlin
https://codereview.chromium.org/2137833002/diff/60001/content/browser/cache_storage/cache_storage_cache.cc File content/browser/cache_storage/cache_storage_cache.cc (right): https://codereview.chromium.org/2137833002/diff/60001/content/browser/cache_storage/cache_storage_cache.cc#newcode623 content/browser/cache_storage/cache_storage_cache.cc:623: std::move(query_cache_results)); This is why the windows tests are failing. ...
4 years, 4 months ago (2016-07-28 01:11:36 UTC) #12
zino
On 2016/07/28 01:11:36, jkarlin wrote: > https://codereview.chromium.org/2137833002/diff/60001/content/browser/cache_storage/cache_storage_cache.cc > File content/browser/cache_storage/cache_storage_cache.cc (right): > > https://codereview.chromium.org/2137833002/diff/60001/content/browser/cache_storage/cache_storage_cache.cc#newcode623 > ...
4 years, 4 months ago (2016-07-28 12:59:01 UTC) #13
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/2137833002/80001
4 years, 4 months ago (2016-07-28 13:00:38 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-07-28 13:41:52 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 13:43:16 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/75bb5a5bbf404324c5eb6f8d26d2581fb1a13f25
Cr-Commit-Position: refs/heads/master@{#408381}

Powered by Google App Engine
This is Rietveld 408576698