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

Issue 205033002: Browser side of new ServiceWorker 'sync' event. (Closed)

Created:
6 years, 9 months ago by jkarlin
Modified:
6 years, 8 months ago
Reviewers:
Tom Sepez, kinuko, alecflett
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, joi+watch-content_chromium.org, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+watch, alecflett+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Browser side of new ServiceWorker 'sync' event. The blink side is https://codereview.chromium.org/205013002/ This is just the plumbing for the event, and a chrome://serviceworker-internals button to activate it for debugging purposes. BUG=354112 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260907

Patch Set 1 #

Total comments: 6

Patch Set 2 : Renaming internals_ui functions #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Added a sync browser test #

Patch Set 6 : Missing file #

Patch Set 7 : Rebase (which required an update in service_worker_version.cc) #

Patch Set 8 : js indentation #

Patch Set 9 : So much rebase #

Total comments: 3

Patch Set 10 : Kinuko comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -9 lines) Patch
M content/browser/resources/service_worker/serviceworker_internals.html View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/resources/service_worker/serviceworker_internals.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/embedded_worker_registry.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 3 4 5 6 4 chunks +43 lines, -6 lines 0 comments Download
M content/browser/service_worker/service_worker_internals_ui.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_internals_ui.cc View 1 2 3 4 5 6 7 8 9 6 chunks +58 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 3 4 5 6 2 chunks +18 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_context_client.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_context_client.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 1 2 3 4 5 6 3 chunks +9 lines, -0 lines 0 comments Download
A + content/test/data/service_worker/sync.js View 1 2 3 4 5 6 7 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
alecflett
lgtm This one and the other are prime examples of how to add new events ...
6 years, 9 months ago (2014-03-19 19:34:38 UTC) #1
jkarlin
tsepez@chromium.org: Please review changes in content/common/service_worker/service_worker_messages.h
6 years, 9 months ago (2014-03-20 13:28:43 UTC) #2
jsbell
The lack of tests make me a sad panda, but I'm having a hard time ...
6 years, 9 months ago (2014-03-20 16:19:37 UTC) #3
Tom Sepez
Messages LGTM.
6 years, 9 months ago (2014-03-20 16:47:51 UTC) #4
kinuko
https://codereview.chromium.org/205033002/diff/1/content/browser/service_worker/service_worker_internals_ui.cc File content/browser/service_worker/service_worker_internals_ui.cc (right): https://codereview.chromium.org/205033002/diff/1/content/browser/service_worker/service_worker_internals_ui.cc#newcode52 content/browser/service_worker/service_worker_internals_ui.cc:52: void SyncWorkerOnIOThread(scoped_refptr<ServiceWorkerContextWrapper> context, (ditto for all these method names) ...
6 years, 9 months ago (2014-03-24 05:10:08 UTC) #5
jkarlin
https://codereview.chromium.org/205033002/diff/1/content/browser/service_worker/service_worker_internals_ui.cc File content/browser/service_worker/service_worker_internals_ui.cc (right): https://codereview.chromium.org/205033002/diff/1/content/browser/service_worker/service_worker_internals_ui.cc#newcode52 content/browser/service_worker/service_worker_internals_ui.cc:52: void SyncWorkerOnIOThread(scoped_refptr<ServiceWorkerContextWrapper> context, On 2014/03/24 05:10:08, kinuko wrote: > ...
6 years, 9 months ago (2014-03-25 18:28:16 UTC) #6
jkarlin
On 2014/03/20 16:19:37, jsbell wrote: > The lack of tests make me a sad panda, ...
6 years, 9 months ago (2014-03-26 14:26:30 UTC) #7
jsbell
On 2014/03/26 14:26:30, jkarlin wrote: > On 2014/03/20 16:19:37, jsbell wrote: > > The lack ...
6 years, 9 months ago (2014-03-26 19:57:57 UTC) #8
jkarlin
PTAL as I've added a browser test.
6 years, 8 months ago (2014-03-31 13:44:23 UTC) #9
jkarlin
On 2014/03/31 13:44:23, jkarlin wrote: > PTAL as I've added a browser test. Ping! Would ...
6 years, 8 months ago (2014-04-01 13:51:34 UTC) #10
kinuko
Sorry for slow review, I think this lgtm (module some more minor comments inline) Also ...
6 years, 8 months ago (2014-04-01 14:40:48 UTC) #11
jkarlin
https://codereview.chromium.org/205033002/diff/210001/content/browser/service_worker/service_worker_internals_ui.cc File content/browser/service_worker/service_worker_internals_ui.cc (right): https://codereview.chromium.org/205033002/diff/210001/content/browser/service_worker/service_worker_internals_ui.cc#newcode470 content/browser/service_worker/service_worker_internals_ui.cc:470: if (status == SERVICE_WORKER_OK) { On 2014/04/01 14:40:49, kinuko ...
6 years, 8 months ago (2014-04-01 15:06:05 UTC) #12
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 8 months ago (2014-04-01 15:08:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/205033002/230001
6 years, 8 months ago (2014-04-01 15:08:18 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-01 18:17:57 UTC) #15
Message was sent while issue was closed.
Change committed as 260907

Powered by Google App Engine
This is Rietveld 408576698