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

Issue 2538023002: [Sync] Pass a TaskRunner into SBHI/SBHC, not a thread or message loop. (Closed)

Created:
4 years ago by maxbogue
Modified:
4 years ago
Reviewers:
skym
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Pass a TaskRunner into SBHI/SBHC, not a thread or message loop. BUG=669967 Committed: https://crrev.com/75b2278e77eda3ac01262a16ca45151ab8253e06 Cr-Commit-Position: refs/heads/master@{#435501}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Now with ThreadCheckers galore! #

Patch Set 3 : Fix unintentional variable change. #

Patch Set 4 : Remove thread check in destructor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -168 lines) Patch
M components/browser_sync/abstract_profile_sync_service_test.cc View 1 3 chunks +0 lines, -4 lines 0 comments Download
M components/browser_sync/profile_sync_components_factory_impl.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M components/browser_sync/profile_sync_service.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/browser_sync/profile_sync_service.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/browser_sync/profile_sync_service_unittest.cc View 3 chunks +8 lines, -7 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_core.h View 1 7 chunks +10 lines, -14 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_core.cc View 1 2 3 31 chunks +50 lines, -65 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl.h View 1 4 chunks +6 lines, -11 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl.cc View 1 32 chunks +47 lines, -55 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl_unittest.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_mock.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/glue/sync_backend_host_mock.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (23 generated)
maxbogue
Sky, PTAL!
4 years ago (2016-11-30 18:02:29 UTC) #11
skym
https://codereview.chromium.org/2538023002/diff/1/components/sync/driver/glue/sync_backend_host_core.cc File components/sync/driver/glue/sync_backend_host_core.cc (left): https://codereview.chromium.org/2538023002/diff/1/components/sync/driver/glue/sync_backend_host_core.cc#oldcode144 components/sync/driver/glue/sync_backend_host_core.cc:144: if (!sync_loop_) What makes us think that removing all ...
4 years ago (2016-11-30 18:45:23 UTC) #12
maxbogue
https://codereview.chromium.org/2538023002/diff/1/components/sync/driver/glue/sync_backend_host_core.cc File components/sync/driver/glue/sync_backend_host_core.cc (left): https://codereview.chromium.org/2538023002/diff/1/components/sync/driver/glue/sync_backend_host_core.cc#oldcode144 components/sync/driver/glue/sync_backend_host_core.cc:144: if (!sync_loop_) On 2016/11/30 18:45:23, skym wrote: > What ...
4 years ago (2016-11-30 20:05:06 UTC) #15
skym
lgtm
4 years ago (2016-11-30 22:39:34 UTC) #22
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/2538023002/60001
4 years ago (2016-11-30 23:54:12 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-01 00:44:50 UTC) #28
commit-bot: I haz the power
4 years ago (2016-12-01 00:48:57 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/75b2278e77eda3ac01262a16ca45151ab8253e06
Cr-Commit-Position: refs/heads/master@{#435501}

Powered by Google App Engine
This is Rietveld 408576698