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

Issue 2390953002: ServiceWorker: Remove an unused origin_filter param for cleanup (Closed)

Created:
4 years, 2 months ago by nhiroki
Modified:
4 years, 2 months ago
Reviewers:
falken, shimazu
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, tzik, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: Remove an unused origin_filter param for cleanup This CL removes an unused |origin_filter| param from DidGetRegistrationsInfo() on ServiceWorkerStorage. Before this CL, the param was always an empty GURL. In addition, this makes DidGetRegistrations() always take a non-empty GURL as |origin_filter| and renames the function to DidGetRegistrationsForOrigin() to clarify its functionality. BUG=n/a Committed: https://crrev.com/b49cc0f48221deda964b115e1f3576883f217b9c Cr-Commit-Position: refs/heads/master@{#422721}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rename #

Patch Set 3 : slightly revert renaming for consistency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -23 lines) Patch
M content/browser/service_worker/service_worker_storage.h View 1 2 1 chunk +9 lines, -9 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.cc View 1 2 6 chunks +10 lines, -14 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
nhiroki
PTAL, thanks!
4 years, 2 months ago (2016-10-04 03:38:49 UTC) #5
shimazu
https://codereview.chromium.org/2390953002/diff/1/content/browser/service_worker/service_worker_storage.h File content/browser/service_worker/service_worker_storage.h (right): https://codereview.chromium.org/2390953002/diff/1/content/browser/service_worker/service_worker_storage.h#newcode369 content/browser/service_worker/service_worker_storage.h:369: void DidGetAllRegistrations(const GetRegistrationsInfosCallback& callback, I feel DidGetAllRegistrationsInfos is better ...
4 years, 2 months ago (2016-10-04 03:52:07 UTC) #6
falken
lgtm
4 years, 2 months ago (2016-10-04 04:03:19 UTC) #7
nhiroki
Thank you. Updated. https://codereview.chromium.org/2390953002/diff/1/content/browser/service_worker/service_worker_storage.h File content/browser/service_worker/service_worker_storage.h (right): https://codereview.chromium.org/2390953002/diff/1/content/browser/service_worker/service_worker_storage.h#newcode369 content/browser/service_worker/service_worker_storage.h:369: void DidGetAllRegistrations(const GetRegistrationsInfosCallback& callback, On 2016/10/04 ...
4 years, 2 months ago (2016-10-04 04:13:22 UTC) #8
shimazu
lgtm too!
4 years, 2 months ago (2016-10-04 04:55:58 UTC) #9
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/2390953002/40001
4 years, 2 months ago (2016-10-04 04:56:15 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-04 06:10:46 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 06:12:53 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b49cc0f48221deda964b115e1f3576883f217b9c
Cr-Commit-Position: refs/heads/master@{#422721}

Powered by Google App Engine
This is Rietveld 408576698