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

Issue 2575403002: [BackgroundSync]: Resolve the register promise before firing sync events (Closed)

Created:
4 years ago by falken
Modified:
4 years ago
Reviewers:
shimazu
CC:
chromium-reviews, iclelland+watch_chromium.org, jam, chasej+watch_chromium.org, Peter Beverloo, darin-cc_chromium.org, jkarlin+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[BackgroundSync]: Resolve the register promise before firing sync events Previously register promise resolution and sync event dispatch was racy. This patch moves the sync event dispatch to after the register promise callback is invoked. BUG=671980

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M content/browser/background_sync/background_sync_manager.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
falken
shimazu@ I wrote this code but then realized maybe this is not sufficient if the ...
4 years ago (2016-12-15 06:59:41 UTC) #2
shimazu
On 2016/12/15 06:59:41, falken wrote: > shimazu@ I wrote this code but then realized maybe ...
4 years ago (2016-12-15 07:07:25 UTC) #3
falken
On 2016/12/15 07:07:25, shimazu wrote: > On 2016/12/15 06:59:41, falken wrote: > > shimazu@ I ...
4 years ago (2016-12-15 07:10:32 UTC) #4
shimazu
On 2016/12/15 07:10:32, falken wrote: > On 2016/12/15 07:07:25, shimazu wrote: > > On 2016/12/15 ...
4 years ago (2016-12-15 08:03:31 UTC) #5
falken
On 2016/12/15 08:03:31, shimazu wrote: > On 2016/12/15 07:10:32, falken wrote: > > On 2016/12/15 ...
4 years ago (2016-12-15 08:12:08 UTC) #6
falken
4 years ago (2016-12-16 01:22:48 UTC) #8
Message was sent while issue was closed.
Closing this based on bug discussion.

Powered by Google App Engine
This is Rietveld 408576698