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

Issue 554573002: SWRegistration::unregister returns false when the registration is already unregistered. (2/3) (Closed)

Created:
6 years, 3 months ago by shimazu
Modified:
6 years, 3 months ago
Reviewers:
kenrb, horo
CC:
chromium-reviews, michaeln, 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

ServiceWorkerRegistration::unregister returns false when the registration is already unregistered. (2/3) 1. [Blink] https://codereview.chromium.org/549093002/ 2. [Chromium] this patch 3. [Blink] https://codereview.chromium.org/550093002/ BUG=390894 TEST=content_browsertests --gtest_filter='ServiceWorkerBlackBoxBrowserTest.Registration' TEST=content_unittests --gtest_filter='ServiceWorkerJobTest.Unregister_NothingRegistered' TEST=content_unittests --gtest_filter='ServiceWorkerJobTest.ParallelUnreg' Committed: https://crrev.com/903e26ee1682e63d64b4a41036592f3d3d170b5c Cr-Commit-Position: refs/heads/master@{#294141}

Patch Set 1 #

Total comments: 2

Patch Set 2 : move the conversion from SWStatusCode to boolean to browser-side #

Total comments: 2

Patch Set 3 : Add const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -17 lines) Patch
M content/browser/service_worker/service_worker_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.cc View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_job_unittest.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_unregister_job.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/service_worker/service_worker_dispatcher.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/child/service_worker/service_worker_dispatcher.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
shimazu
kenrb@chromium.org: Please review changes in IPC (content/commmon/service_worker/service_worker_messages.h). horo@chromium.org: Please review changes in the others.
6 years, 3 months ago (2014-09-08 08:32:19 UTC) #2
kenrb
ipc lgtm
6 years, 3 months ago (2014-09-08 15:34:11 UTC) #3
horo
https://codereview.chromium.org/554573002/diff/1/content/common/service_worker/service_worker_messages.h File content/common/service_worker/service_worker_messages.h (right): https://codereview.chromium.org/554573002/diff/1/content/common/service_worker/service_worker_messages.h#newcode201 content/common/service_worker/service_worker_messages.h:201: content::ServiceWorkerStatusCode) We don't need to send the status code. ...
6 years, 3 months ago (2014-09-09 01:24:15 UTC) #4
shimazu
https://codereview.chromium.org/554573002/diff/1/content/common/service_worker/service_worker_messages.h File content/common/service_worker/service_worker_messages.h (right): https://codereview.chromium.org/554573002/diff/1/content/common/service_worker/service_worker_messages.h#newcode201 content/common/service_worker/service_worker_messages.h:201: content::ServiceWorkerStatusCode) On 2014/09/09 01:24:15, horo wrote: > We don't ...
6 years, 3 months ago (2014-09-10 01:22:10 UTC) #5
horo
lgtm with nit https://codereview.chromium.org/554573002/diff/20001/content/browser/service_worker/service_worker_dispatcher_host.cc File content/browser/service_worker/service_worker_dispatcher_host.cc (right): https://codereview.chromium.org/554573002/diff/20001/content/browser/service_worker/service_worker_dispatcher_host.cc#newcode602 content/browser/service_worker/service_worker_dispatcher_host.cc:602: bool is_success = (status == SERVICE_WORKER_OK); ...
6 years, 3 months ago (2014-09-10 05:44:43 UTC) #6
shimazu
https://codereview.chromium.org/554573002/diff/20001/content/browser/service_worker/service_worker_dispatcher_host.cc File content/browser/service_worker/service_worker_dispatcher_host.cc (right): https://codereview.chromium.org/554573002/diff/20001/content/browser/service_worker/service_worker_dispatcher_host.cc#newcode602 content/browser/service_worker/service_worker_dispatcher_host.cc:602: bool is_success = (status == SERVICE_WORKER_OK); On 2014/09/10 05:44:43, ...
6 years, 3 months ago (2014-09-10 06:40:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shimazu@chromium.org/554573002/40001
6 years, 3 months ago (2014-09-10 06:48:53 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 87faa074f930b354b175baff84e57b0236236eba
6 years, 3 months ago (2014-09-10 08:07:54 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 10:56:01 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/903e26ee1682e63d64b4a41036592f3d3d170b5c
Cr-Commit-Position: refs/heads/master@{#294141}

Powered by Google App Engine
This is Rietveld 408576698