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

Issue 2515353002: [background-sync] Merge SyncManager and BackgroundSyncProvider (Closed)

Created:
4 years ago by adithyas
Modified:
4 years ago
Reviewers:
jbroman, iclelland
CC:
blink-reviews, chasej+watch_chromium.org, chromium-reviews, haraken, iclelland+watch_chromium.org, jkarlin+watch_chromium.org, Peter Beverloo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[background-sync] Merge SyncManager and BackgroundSyncProvider - Follow up to http://crrev.com/2481393002 - Move BackgroundSyncProvider code into SyncManger - A seperate mojo IPC connection with the browser's BackgroundSyncService is now created per SyncManager object as opposed to per thread - Remove BackgroundSyncProvider.(h|cpp) BUG=662134 Committed: https://crrev.com/34efa35374cb3073a3cfb364e4a2cf9aa3273f0a Cr-Commit-Position: refs/heads/master@{#433667}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 7

Patch Set 3 : Fix super-nits #

Patch Set 4 : Reorder methods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -202 lines) Patch
M third_party/WebKit/Source/modules/background_sync/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/modules/background_sync/BackgroundSyncProvider.h View 1 chunk +0 lines, -53 lines 0 comments Download
D third_party/WebKit/Source/modules/background_sync/BackgroundSyncProvider.cpp View 1 chunk +0 lines, -130 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncManager.h View 2 chunks +17 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncManager.cpp View 1 2 3 3 chunks +91 lines, -14 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
adithyas
4 years ago (2016-11-21 19:09:27 UTC) #9
jbroman
lgtm Yay, another -93 LOC. Only two of the most trivial nits. https://codereview.chromium.org/2515353002/diff/20001/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp File third_party/WebKit/Source/modules/background_sync/SyncManager.cpp ...
4 years ago (2016-11-21 19:25:51 UTC) #10
iclelland
lgtm https://codereview.chromium.org/2515353002/diff/20001/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp File third_party/WebKit/Source/modules/background_sync/SyncManager.cpp (right): https://codereview.chromium.org/2515353002/diff/20001/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp#newcode58 third_party/WebKit/Source/modules/background_sync/SyncManager.cpp:58: void SyncManager::registerCallback(ScriptPromiseResolver* resolver, nit: Move this below getBackgroundSyncServicePtr ...
4 years ago (2016-11-21 20:17:15 UTC) #11
adithyas
Fixed jbroman@ and iclelland@ nits https://codereview.chromium.org/2515353002/diff/20001/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp File third_party/WebKit/Source/modules/background_sync/SyncManager.cpp (right): https://codereview.chromium.org/2515353002/diff/20001/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp#newcode24 third_party/WebKit/Source/modules/background_sync/SyncManager.cpp:24: : m_registration(registration), m_backgroundSyncService(nullptr) { ...
4 years ago (2016-11-21 20:27:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2515353002/60001
4 years ago (2016-11-21 20:29:33 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-21 22:07:46 UTC) #17
commit-bot: I haz the power
4 years ago (2016-11-21 22:11:23 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/34efa35374cb3073a3cfb364e4a2cf9aa3273f0a
Cr-Commit-Position: refs/heads/master@{#433667}

Powered by Google App Engine
This is Rietveld 408576698