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

Issue 2954433002: BackgroundSync: Convert to base::BindOnce/OnceCallback/OnceClosure (Closed)

Created:
3 years, 6 months ago by jsbell
Modified:
3 years, 5 months ago
CC:
chromium-reviews, iclelland+watch_chromium.org, jam, chasej+watch_chromium.org, nhiroki, Peter Beverloo, darin-cc_chromium.org, jkarlin+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

BackgroundSync: Convert to base::BindOnce/OnceCallback/OnceClosure Be explicit about the expectations for callbacks passed around as either "once" or "repeating". base: :AdaptCallbackForRepeating() is used as necessary when calling Review-Url: https://codereview.chromium.org/2954433002 Cr-Commit-Position: refs/heads/master@{#482747} Committed: https://chromium.googlesource.com/chromium/src/+/64500c1e30d83c949f68d560b898d2c6274b9f73

Patch Set 1 #

Total comments: 2

Patch Set 2 : rename local variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -340 lines) Patch
M content/browser/background_sync/background_sync_browsertest.cc View 6 chunks +19 lines, -17 lines 0 comments Download
M content/browser/background_sync/background_sync_context.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/background_sync/background_sync_manager.h View 9 chunks +31 lines, -33 lines 0 comments Download
M content/browser/background_sync/background_sync_manager.cc View 30 chunks +199 lines, -176 lines 0 comments Download
M content/browser/background_sync/background_sync_manager_unittest.cc View 1 18 chunks +49 lines, -37 lines 0 comments Download
M content/browser/background_sync/background_sync_network_observer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/background_sync/background_sync_network_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/background_sync/background_sync_network_observer_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/background_sync/background_sync_service_impl.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M content/browser/background_sync/background_sync_service_impl_unittest.cc View 1 4 chunks +16 lines, -14 lines 0 comments Download
M content/browser/cache_storage/cache_storage_scheduler.h View 2 chunks +4 lines, -25 lines 0 comments Download
M content/test/test_background_sync_manager.h View 4 chunks +10 lines, -8 lines 0 comments Download
M content/test/test_background_sync_manager.cc View 4 chunks +10 lines, -12 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
jsbell
tzik@ - can you review for "Once" correctness/style? jkarlin@ - can you review as background_sync ...
3 years, 6 months ago (2017-06-22 17:27:13 UTC) #6
tzik
lgtm
3 years, 6 months ago (2017-06-23 16:43:36 UTC) #7
jkarlin
lgtm! https://codereview.chromium.org/2954433002/diff/1/content/browser/background_sync/background_sync_service_impl_unittest.cc File content/browser/background_sync/background_sync_service_impl_unittest.cc (right): https://codereview.chromium.org/2954433002/diff/1/content/browser/background_sync/background_sync_service_impl_unittest.cc#newcode249 content/browser/background_sync/background_sync_service_impl_unittest.cc:249: bool getregistrations_called = false; Can you rename this ...
3 years, 5 months ago (2017-06-26 16:45:28 UTC) #8
jsbell
https://codereview.chromium.org/2954433002/diff/1/content/browser/background_sync/background_sync_service_impl_unittest.cc File content/browser/background_sync/background_sync_service_impl_unittest.cc (right): https://codereview.chromium.org/2954433002/diff/1/content/browser/background_sync/background_sync_service_impl_unittest.cc#newcode249 content/browser/background_sync/background_sync_service_impl_unittest.cc:249: bool getregistrations_called = false; On 2017/06/26 16:45:28, jkarlin_slow wrote: ...
3 years, 5 months ago (2017-06-26 17:28:33 UTC) #9
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/2954433002/20001
3 years, 5 months ago (2017-06-26 17:28:48 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/474029)
3 years, 5 months ago (2017-06-26 17:36:57 UTC) #14
jsbell
phajdan.jr@ - can you OWNERS review for content/test ?
3 years, 5 months ago (2017-06-26 18:22:47 UTC) #16
Paweł Hajdan Jr.
content/test LGTM
3 years, 5 months ago (2017-06-27 18:15:31 UTC) #17
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/2954433002/20001
3 years, 5 months ago (2017-06-27 18:53:12 UTC) #19
commit-bot: I haz the power
3 years, 5 months ago (2017-06-27 21:16:57 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/64500c1e30d83c949f68d560b898...

Powered by Google App Engine
This is Rietveld 408576698