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

Issue 1181973004: ServiceWorker: Route unregister() through WebServiceWorkerRegistration for refactoring (2) (Closed)

Created:
5 years, 6 months ago by nhiroki
Modified:
5 years, 6 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: Route unregister() through WebServiceWorkerRegistration for refactoring (2) This is a part of refactoring CLs for unregister(). See the CL[1] for details. This CL renames existing Unregister* for "pattern" to DeprecatedUnregister*, and adds new Unregister* for "registration_id". [1] Blink: https://codereview.chromium.org/1185483003 [2] Chromium: THIS PATCH [3] Blink: https://codereview.chromium.org/1190503002 [4] Chromium: https://codereview.chromium.org/1186803002 BUG=500404 TEST=compile Committed: https://crrev.com/710d9db8a0bf8c5d087e4223b121b47093ae37de Cr-Commit-Position: refs/heads/master@{#335009}

Patch Set 1 : #

Patch Set 2 : rebase #

Patch Set 3 : minimize ifdef #

Total comments: 2

Patch Set 4 : remove ifdef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -87 lines) Patch
M content/browser/bad_message.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.cc View 1 3 chunks +72 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host_unittest.cc View 1 2 3 3 chunks +1 line, -75 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.h View 1 2 2 chunks +8 lines, -3 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.cc View 1 2 chunks +16 lines, -2 lines 0 comments Download
M content/child/service_worker/web_service_worker_provider_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/child/service_worker/web_service_worker_provider_impl.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/child/service_worker/web_service_worker_registration_impl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/child/service_worker/web_service_worker_registration_impl.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 1 chunk +8 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (16 generated)
nhiroki
PTAL, thanks
5 years, 6 months ago (2015-06-16 02:07:10 UTC) #6
kinuko
Looks like this patch still has some ifdef's, which look unnecessary now? Otherwise lgtm
5 years, 6 months ago (2015-06-17 14:23:12 UTC) #7
nhiroki
Thank you for reviewing. On 2015/06/17 14:23:12, kinuko wrote: > Looks like this patch still ...
5 years, 6 months ago (2015-06-17 16:31:25 UTC) #9
nhiroki
+tsepez@ for service_worker_messages.h +asvitline@ for histograms.xml PTAL, thanks!
5 years, 6 months ago (2015-06-17 16:38:10 UTC) #11
Alexei Svitkine (slow)
lgtm
5 years, 6 months ago (2015-06-17 16:49:34 UTC) #12
Tom Sepez
Messages LGTM.
5 years, 6 months ago (2015-06-17 16:55:20 UTC) #13
kinuko
https://codereview.chromium.org/1181973004/diff/140001/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc File content/browser/service_worker/service_worker_dispatcher_host_unittest.cc (right): https://codereview.chromium.org/1181973004/diff/140001/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc#newcode210 content/browser/service_worker/service_worker_dispatcher_host_unittest.cc:210: #ifdef CRBUG_500404 I don't really understand why we still ...
5 years, 6 months ago (2015-06-17 17:44:57 UTC) #14
nhiroki
OK, removed all ifdefs https://codereview.chromium.org/1181973004/diff/140001/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc File content/browser/service_worker/service_worker_dispatcher_host_unittest.cc (right): https://codereview.chromium.org/1181973004/diff/140001/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc#newcode210 content/browser/service_worker/service_worker_dispatcher_host_unittest.cc:210: #ifdef CRBUG_500404 On 2015/06/17 17:44:56, ...
5 years, 6 months ago (2015-06-17 23:23:49 UTC) #16
kinuko
On 2015/06/17 23:23:49, nhiroki wrote: > OK, removed all ifdefs > > https://codereview.chromium.org/1181973004/diff/140001/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc > File ...
5 years, 6 months ago (2015-06-18 01:49:16 UTC) #17
nhiroki
On 2015/06/18 01:49:16, kinuko wrote: > On 2015/06/17 23:23:49, nhiroki wrote: > > OK, removed ...
5 years, 6 months ago (2015-06-18 04:15:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181973004/180001
5 years, 6 months ago (2015-06-18 04:17:00 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/7577)
5 years, 6 months ago (2015-06-18 06:29:39 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181973004/180001
5 years, 6 months ago (2015-06-18 06:44:08 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181973004/180001
5 years, 6 months ago (2015-06-18 06:47:38 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/7608)
5 years, 6 months ago (2015-06-18 08:22:01 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181973004/180001
5 years, 6 months ago (2015-06-18 09:34:07 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:180001)
5 years, 6 months ago (2015-06-18 11:00:34 UTC) #33
commit-bot: I haz the power
5 years, 6 months ago (2015-06-18 11:01:29 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/710d9db8a0bf8c5d087e4223b121b47093ae37de
Cr-Commit-Position: refs/heads/master@{#335009}

Powered by Google App Engine
This is Rietveld 408576698