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

Issue 1221643014: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Chromium 2/3) (Closed)

Created:
5 years, 5 months ago by jungkees
Modified:
5 years, 5 months ago
CC:
chromium-reviews, horo, jam, kinuko+serviceworker, kinuko+watch, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Chromium 2/3) Migrate ServiceWorkerVerion's int64 type version_id to std::string type version_uuid: - Replace next_avail_version_id semantic with a UUID based versioning. - Migrate leveldb schema . Deprecate INITDATA_NEXT_VERSION_ID . Change data format for ServiceWorkerResourceRecord Surface ServiceWorker.id attribute as per spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#client-id-attribute Spec issue: https://github.com/slightlyoff/ServiceWorker/issues/635 Companion CL (Blink): https://codereview.chromium.org/1216093003/ Companion CL (Blink layout test): https://codereview.chromium.org/1216933008/ BUG=470031

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+478 lines, -523 lines) Patch
M content/browser/devtools/protocol/service_worker_handler.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/devtools/protocol/service_worker_handler.cc View 6 chunks +16 lines, -16 lines 0 comments Download
M content/browser/devtools/service_worker_devtools_agent_host.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M content/browser/devtools/service_worker_devtools_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/devtools/service_worker_devtools_manager.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/service_worker/embedded_worker_instance.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/embedded_worker_instance.cc View 6 chunks +9 lines, -11 lines 0 comments Download
M content/browser/service_worker/embedded_worker_instance_unittest.cc View 6 chunks +13 lines, -11 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 3 chunks +9 lines, -12 lines 0 comments Download
M content/browser/service_worker/service_worker_context_core.h View 4 chunks +8 lines, -7 lines 0 comments Download
M content/browser/service_worker/service_worker_context_core.cc View 10 chunks +20 lines, -22 lines 0 comments Download
M content/browser/service_worker/service_worker_context_observer.h View 1 chunk +9 lines, -8 lines 0 comments Download
M content/browser/service_worker/service_worker_context_request_handler_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_context_watcher.h View 2 chunks +11 lines, -10 lines 0 comments Download
M content/browser/service_worker/service_worker_context_watcher.cc View 2 chunks +24 lines, -24 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_database.h View 7 chunks +13 lines, -18 lines 0 comments Download
M content/browser/service_worker/service_worker_database.cc View 22 chunks +38 lines, -47 lines 0 comments Download
M content/browser/service_worker/service_worker_database.proto View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_database_unittest.cc View 44 chunks +64 lines, -68 lines 0 comments Download
M content/browser/service_worker/service_worker_disk_cache_migrator_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host_unittest.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_handle.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_handle_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_info.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_info.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_internals_ui.cc View 8 chunks +32 lines, -47 lines 0 comments Download
M content/browser/service_worker/service_worker_job_unittest.cc View 12 chunks +38 lines, -45 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_provider_host.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_registration_unittest.cc View 5 chunks +14 lines, -20 lines 0 comments Download
M content/browser/service_worker/service_worker_request_handler_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.h View 3 chunks +1 line, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.cc View 12 chunks +13 lines, -16 lines 0 comments Download
M content/browser/service_worker/service_worker_storage_unittest.cc View 10 chunks +11 lines, -11 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 2 chunks +6 lines, -7 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 5 chunks +8 lines, -7 lines 0 comments Download
M content/browser/service_worker/service_worker_version_unittest.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_write_to_cache_job_unittest.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/child/service_worker/service_worker_handle_reference.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/child/service_worker/service_worker_network_provider.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/service_worker/service_worker_network_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/service_worker/web_service_worker_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/child/service_worker/web_service_worker_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/service_worker/embedded_worker_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/service_worker/service_worker_messages.h View 2 chunks +3 lines, -3 lines 0 comments Download
M content/common/service_worker/service_worker_types.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/service_worker/service_worker_types.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_dispatcher.cc View 1 chunk +8 lines, -10 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/shared_worker/embedded_shared_worker_stub.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
jungkees
PTAL
5 years, 5 months ago (2015-07-01 13:57:26 UTC) #2
michaeln
On 2015/07/01 13:57:26, jungkees wrote: > PTAL universal, is it sufficient that the 'ids' observable ...
5 years, 5 months ago (2015-07-08 23:09:17 UTC) #4
jungkees
As devs will want to distinguish to which service worker they have to post messages ...
5 years, 5 months ago (2015-07-09 01:46:42 UTC) #5
michaeln
On 2015/07/09 01:46:42, jungkees wrote: > As devs will want to distinguish to which service ...
5 years, 5 months ago (2015-07-09 01:53:48 UTC) #6
jungkees
On 2015/07/09 01:53:48, michaeln wrote: > On 2015/07/09 01:46:42, jungkees wrote: > > As devs ...
5 years, 5 months ago (2015-07-09 02:29:35 UTC) #7
michaeln
On 2015/07/09 02:29:35, jungkees wrote: > On 2015/07/09 01:53:48, michaeln wrote: > > On 2015/07/09 ...
5 years, 5 months ago (2015-07-10 19:35:36 UTC) #8
jungkees
On 2015/07/10 19:35:36, michaeln wrote: > > Client.id returning a uuid > > Unless there's ...
5 years, 5 months ago (2015-07-16 07:42:03 UTC) #9
michaeln
> I'll bring it up at the SW f2f meeting on next Monday. And will ...
5 years, 5 months ago (2015-07-16 23:01:06 UTC) #10
jsbell
On 2015/07/16 23:01:06, michaeln wrote: > nope, when/where is it? I just sent michaeln the ...
5 years, 5 months ago (2015-07-16 23:18:05 UTC) #11
falken
On 2015/07/16 07:42:03, jungkees wrote: > On 2015/07/10 19:35:36, michaeln wrote: > > > Client.id ...
5 years, 5 months ago (2015-07-22 01:24:04 UTC) #12
falken
5 years, 5 months ago (2015-07-22 23:25:41 UTC) #13
Closing this as per the bug.

Powered by Google App Engine
This is Rietveld 408576698