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

Issue 649203005: [ServiceWorkerCache] Put should replace an existing entry to meet spec. (Closed)

Created:
6 years, 1 month ago by jkarlin
Modified:
6 years, 1 month ago
Reviewers:
michaeln, falken
CC:
chromium-reviews, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@staticize
Project:
chromium
Visibility:
Public.

Description

[ServiceWorkerCache] Put should replace an existing entry to meet spec. Put now calls Delete before CreateEntry, this requires a new callback PutDidDeleteEntry. BUG=426562 Committed: https://crrev.com/4b83c33732fb77da5d5100c339ad16325047ebed Cr-Commit-Position: refs/heads/master@{#302072}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Call Delete instead of Doom so that quotamanger gets updated #

Patch Set 3 : Rebase #

Patch Set 4 : Compile fix and test fix #

Patch Set 5 : Fix unit test #

Patch Set 6 : Rebase #

Patch Set 7 : Fix order of eval bug #

Patch Set 8 : Reapply patchset 5 (lost in rebase) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M content/browser/service_worker/service_worker_cache.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_cache.cc View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_cache_unittest.cc View 1 2 3 4 5 6 7 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
jkarlin
michaeln@chromium.org: Please review changes in all falken@chromium.org: Please review changes in all So many thanks ...
6 years, 1 month ago (2014-10-24 19:19:16 UTC) #2
jkarlin
On 2014/10/24 19:19:16, jkarlin wrote: > mailto:michaeln@chromium.org: Please review changes in all > > mailto:falken@chromium.org: ...
6 years, 1 month ago (2014-10-24 21:16:49 UTC) #3
jsbell
Can you add a note to the commit comment that this will cause a blink ...
6 years, 1 month ago (2014-10-24 22:44:42 UTC) #4
jkarlin
On 2014/10/24 22:44:42, jsbell wrote: > Can you add a note to the commit comment ...
6 years, 1 month ago (2014-10-24 23:27:44 UTC) #5
falken
code change lg... > Hold off on reviewing this for a few hours, I need ...
6 years, 1 month ago (2014-10-27 04:09:46 UTC) #6
jkarlin
Ready for review again, thanks for the early feedback Falken. https://codereview.chromium.org/649203005/diff/1/content/browser/service_worker/service_worker_cache_unittest.cc File content/browser/service_worker/service_worker_cache_unittest.cc (right): https://codereview.chromium.org/649203005/diff/1/content/browser/service_worker/service_worker_cache_unittest.cc#newcode345 ...
6 years, 1 month ago (2014-10-27 12:15:28 UTC) #7
jkarlin
Some tests are failing, will fix tomorrow.
6 years, 1 month ago (2014-10-27 21:46:09 UTC) #8
jkarlin
On 2014/10/27 21:46:09, jkarlin wrote: > Some tests are failing, will fix tomorrow. The tests ...
6 years, 1 month ago (2014-10-28 13:09:55 UTC) #10
jkarlin
michaeln@chromium.org: Please review changes in all falken@chromium.org: Please review changes in all Alright, game on! ...
6 years, 1 month ago (2014-10-29 13:49:41 UTC) #12
michaeln
lgtm does it matter that (delete + add) isn't atomic?
6 years, 1 month ago (2014-10-30 00:31:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/649203005/130001
6 years, 1 month ago (2014-10-30 11:37:31 UTC) #15
jkarlin
On 2014/10/30 00:31:40, michaeln wrote: > lgtm > > does it matter that (delete + ...
6 years, 1 month ago (2014-10-30 11:38:07 UTC) #16
commit-bot: I haz the power
Committed patchset #8 (id:130001)
6 years, 1 month ago (2014-10-30 12:19:08 UTC) #17
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 12:19:48 UTC) #18
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/4b83c33732fb77da5d5100c339ad16325047ebed
Cr-Commit-Position: refs/heads/master@{#302072}

Powered by Google App Engine
This is Rietveld 408576698