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

Issue 504233003: Change the ServiceWorkerCacheStorage's loader from a ref ptr to scoped. (Closed)

Created:
6 years, 3 months ago by jkarlin
Modified:
6 years, 3 months ago
Reviewers:
michaeln, horo
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@master
Project:
chromium
Visibility:
Public.

Description

Change the ServiceWorkerCacheStorage's loader from a ref ptr to scoped and guarantee that callbacks passed to the loader are called by making functions static and passing WeakPtrs. Part of the following CL chain to guarantee callbacks are called throughout ServiceWorkerCacheStorage: * 1. Guarantee CacheLoader callbacks: https://codereview.chromium.org/504233003/ 2. Guarantee LazyInit callbacks: https://codereview.chromium.org/512743002/ 3. Guarantee Create/Delete callbacks: https://codereview.chromium.org/511893002/ 4. Reorganize the methods: https://codereview.chromium.org/510813002/ BUG=392621 Committed: https://crrev.com/54d803feb271128003f73c3d5d30e4a2cc93471f Cr-Commit-Position: refs/heads/master@{#292180}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -57 lines) Patch
M content/browser/service_worker/service_worker_cache_storage.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_cache_storage.cc View 1 2 12 chunks +40 lines, -56 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jkarlin
jkarlin@chromium.org changed reviewers: + falken@chromium.org
6 years, 3 months ago (2014-08-26 18:42:08 UTC) #1
jkarlin
falken: Please review all, thanks!
6 years, 3 months ago (2014-08-26 18:42:08 UTC) #2
jkarlin
jkarlin@chromium.org changed reviewers: + horo@chromium.org, michaeln@chromium.org - falken@chromium.org
6 years, 3 months ago (2014-08-27 11:08:17 UTC) #3
jkarlin
horo is OOO michaeln and horo: Please review everything.
6 years, 3 months ago (2014-08-27 11:08:37 UTC) #4
horo
falken@ is OOO but I'm not OOO :) lgtm
6 years, 3 months ago (2014-08-27 16:01:45 UTC) #5
jkarlin
On 2014/08/27 16:01:45, horo wrote: > falken@ is OOO but I'm not OOO :) > ...
6 years, 3 months ago (2014-08-27 16:10:52 UTC) #6
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 3 months ago (2014-08-27 16:10:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/504233003/60001
6 years, 3 months ago (2014-08-27 16:11:46 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel_swarming on tryserver.chromium.mac ...
6 years, 3 months ago (2014-08-27 17:16:08 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 6b3fb16ce1106c885062b3c67fac8628c43c0733
6 years, 3 months ago (2014-08-27 18:03:46 UTC) #10
michaeln
> Part of the following CL chain to guarantee callbacks are called throughout ServiceWorkerCacheStorage: I'm ...
6 years, 3 months ago (2014-08-27 22:09:43 UTC) #11
michaeln
What is the motivation for this set of changes? Is there a particular problem they're ...
6 years, 3 months ago (2014-08-27 22:19:37 UTC) #12
jkarlin
On 2014/08/27 22:19:37, michaeln wrote: > What is the motivation for this set of changes? ...
6 years, 3 months ago (2014-08-28 11:02:31 UTC) #13
jkarlin
jkarlin@chromium.org changed reviewers: - horo@chromium.org, michaeln@chromium.org
6 years, 3 months ago (2014-08-28 11:02:39 UTC) #14
jkarlin
jkarlin@chromium.org changed reviewers: + horo@chromium.org, michaeln@chromium.org
6 years, 3 months ago (2014-08-28 11:05:47 UTC) #15
jkarlin
On 2014/08/28 11:05:47, jkarlin wrote: > mailto:jkarlin@chromium.org changed reviewers: > + mailto:horo@chromium.org, mailto:michaeln@chromium.org Kept the ...
6 years, 3 months ago (2014-08-28 11:07:09 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:52:38 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/54d803feb271128003f73c3d5d30e4a2cc93471f
Cr-Commit-Position: refs/heads/master@{#292180}

Powered by Google App Engine
This is Rietveld 408576698