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

Issue 1316743002: Reland of [Background Sync] Allow sync manager access from uncontrolled clients (Closed)

Created:
5 years, 4 months ago by iclelland
Modified:
5 years, 3 months ago
Reviewers:
Tom Sepez, jkarlin
CC:
chromium-reviews, tim+watch_chromium.org, viettrungluu+watch_chromium.org, qsr+mojo_chromium.org, zea+watch_chromium.org, Aaron Boodman, maxbogue+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, jkarlin+watch_chromium.org, darin-cc_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Background Sync] Allow sync manager access from uncontrolled clients This patch removes the requirement for the caller of a BackgroundSync manager method to be either a service worker or a controlled client. Now, uncontrolled clients are also able to access the manager, and Blink informs the browser whether a registration request came from a Service Worker or not. (Service Workers are still required to have at least one active window client in order to register sync events; this is enforced in the browser). This is part 3 of a four-part blink-chromium-blink dance. Part 1: https://codereview.chromium.org/1309393003 Part 2: https://codereview.chromium.org/1324903002 Part 3: https://codereview.chromium.org/1316743002 (this patch) Part 4: https://codereview.chromium.org/1314453003 (This was originally landed as https://crrev.com/d7c429ff6d306e720d6b0e7b64be25c8efad82d8 Cr-Commit-Position: refs/heads/master@{#346459} but was reverted.) BUG=518884 Committed: https://crrev.com/6371c54e48ba7b74d6cd3f0d161f52e0a69b111a Cr-Commit-Position: refs/heads/master@{#346719}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Messages

Total messages: 26 (6 generated)
iclelland
jkarlin: PTAL, thanks!
5 years, 4 months ago (2015-08-25 18:46:27 UTC) #2
jkarlin
lgtm!
5 years, 3 months ago (2015-08-26 12:57:36 UTC) #3
iclelland
+r palmer -- Could you please review the change to the mojom file? Thanks!
5 years, 3 months ago (2015-08-27 13:09:01 UTC) #5
iclelland
-r palmer +r tsepez -- for the change to the mojo interface Thanks :)
5 years, 3 months ago (2015-08-31 18:55:12 UTC) #7
Tom Sepez
https://codereview.chromium.org/1316743002/diff/20001/content/common/background_sync_service.mojom File content/common/background_sync_service.mojom (right): https://codereview.chromium.org/1316743002/diff/20001/content/common/background_sync_service.mojom#newcode22 content/common/background_sync_service.mojom:22: bool requested_from_service_worker) Is this sent by both renderers and ...
5 years, 3 months ago (2015-08-31 18:58:13 UTC) #8
iclelland
https://codereview.chromium.org/1316743002/diff/20001/content/common/background_sync_service.mojom File content/common/background_sync_service.mojom (right): https://codereview.chromium.org/1316743002/diff/20001/content/common/background_sync_service.mojom#newcode22 content/common/background_sync_service.mojom:22: bool requested_from_service_worker) On 2015/08/31 18:58:13, Tom Sepez wrote: > ...
5 years, 3 months ago (2015-08-31 19:16:29 UTC) #9
Tom Sepez
Ok, sounds like the consequences are minor. LGTM.
5 years, 3 months ago (2015-08-31 19:20:14 UTC) #10
iclelland
On 2015/08/31 19:20:14, Tom Sepez wrote: > Ok, sounds like the consequences are minor. LGTM. ...
5 years, 3 months ago (2015-08-31 19:22:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316743002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316743002/20001
5 years, 3 months ago (2015-08-31 19:23:06 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-08-31 20:40:11 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/d7c429ff6d306e720d6b0e7b64be25c8efad82d8 Cr-Commit-Position: refs/heads/master@{#346459}
5 years, 3 months ago (2015-08-31 20:40:53 UTC) #16
Stephen Chennney
On 2015/08/31 20:40:53, commit-bot: I haz the power wrote: > Patchset 2 (id:??) landed as ...
5 years, 3 months ago (2015-08-31 21:18:33 UTC) #17
Stephen Chennney
On 2015/08/31 21:18:33, Stephen Chenney wrote: > On 2015/08/31 20:40:53, commit-bot: I haz the power ...
5 years, 3 months ago (2015-08-31 21:20:31 UTC) #18
iclelland
Thanks for the heads up -- I'll take a look at that and fix it ...
5 years, 3 months ago (2015-08-31 22:06:28 UTC) #19
iclelland
On 2015/08/31 22:06:28, iclelland wrote: > Thanks for the heads up -- I'll take a ...
5 years, 3 months ago (2015-09-01 00:01:18 UTC) #20
mlamouri (slow - plz ping)
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1317813003/ by mlamouri@chromium.org. ...
5 years, 3 months ago (2015-09-01 10:12:00 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316743002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316743002/20001
5 years, 3 months ago (2015-09-01 20:00:14 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-01 20:07:22 UTC) #24
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/6371c54e48ba7b74d6cd3f0d161f52e0a69b111a Cr-Commit-Position: refs/heads/master@{#346719}
5 years, 3 months ago (2015-09-01 20:08:15 UTC) #25
iclelland
5 years, 3 months ago (2015-09-01 20:16:06 UTC) #26
Message was sent while issue was closed.
On 2015/09/01 20:08:15, commit-bot: I haz the power wrote:
> Patchset 2 (id:??) landed as
> https://crrev.com/6371c54e48ba7b74d6cd3f0d161f52e0a69b111a
> Cr-Commit-Position: refs/heads/master@{#346719}

Relanded after https://codereview.chromium.org/1324903002 removed the failing
test. A test for the new behaviour is added in
https://codereview.chromium.org/1314453003.

Powered by Google App Engine
This is Rietveld 408576698