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

Issue 1411953002: Store foreign fetch scopes in database with other SW information. (Closed)

Created:
5 years, 2 months ago by Marijn Kruisselbrink
Modified:
5 years, 2 months ago
Reviewers:
falken, nhiroki
CC:
blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+serviceworker, kinuko+watch, michaeln, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@foreign-fetch-interface
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store foreign fetch scopes in database with other SW information. This adds the list of foreign fetch scopes associated with a worker to the ServiceWorkerRegistrationData protobuf, and separately also stores the list of all origins which have some foreign fetch scopes registered. No increase in database version is needed, as absence of this new data is the correct default. BUG=540509 Committed: https://crrev.com/c7edc05b8028a219bcb92922814147e4fbc0a01f Cr-Commit-Position: refs/heads/master@{#355588}

Patch Set 1 #

Total comments: 8

Patch Set 2 : address nhiroki's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+473 lines, -17 lines) Patch
M content/browser/service_worker/service_worker_database.h View 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_database.cc View 1 12 chunks +118 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_database.proto View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_database_unittest.cc View 1 8 chunks +149 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.h View 6 chunks +18 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.cc View 1 10 chunks +43 lines, -15 lines 0 comments Download
M content/browser/service_worker/service_worker_storage_unittest.cc View 4 chunks +130 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Marijn Kruisselbrink
5 years, 2 months ago (2015-10-21 00:21:29 UTC) #6
falken
nhiroki, could you look at this storage change?
5 years, 2 months ago (2015-10-21 01:01:53 UTC) #8
nhiroki
Looks good. https://codereview.chromium.org/1411953002/diff/60001/content/browser/service_worker/service_worker_database.cc File content/browser/service_worker/service_worker_database.cc (right): https://codereview.chromium.org/1411953002/diff/60001/content/browser/service_worker/service_worker_database.cc#newcode218 content/browser/service_worker/service_worker_database.cc:218: for (const GURL& url : input.foreign_fetch_scopes) { ...
5 years, 2 months ago (2015-10-21 05:42:54 UTC) #9
Marijn Kruisselbrink
https://codereview.chromium.org/1411953002/diff/60001/content/browser/service_worker/service_worker_database.cc File content/browser/service_worker/service_worker_database.cc (right): https://codereview.chromium.org/1411953002/diff/60001/content/browser/service_worker/service_worker_database.cc#newcode218 content/browser/service_worker/service_worker_database.cc:218: for (const GURL& url : input.foreign_fetch_scopes) { On 2015/10/21 ...
5 years, 2 months ago (2015-10-21 20:33:46 UTC) #11
nhiroki
lgtm
5 years, 2 months ago (2015-10-22 10:32:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411953002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411953002/100001
5 years, 2 months ago (2015-10-22 17:43:49 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:100001)
5 years, 2 months ago (2015-10-22 18:31:45 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 18:32:42 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c7edc05b8028a219bcb92922814147e4fbc0a01f
Cr-Commit-Position: refs/heads/master@{#355588}

Powered by Google App Engine
This is Rietveld 408576698