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

Issue 2257523003: [Sync] Move StartAssociation from NonUIDataTypeController to SharedChangeProcessor. (Closed)

Created:
4 years, 4 months ago by maxbogue
Modified:
4 years, 4 months ago
Reviewers:
pavely
CC:
chromium-reviews, sync-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Move StartAssociation from NonUIDataTypeController to SharedChangeProcessor. This CL copies a utility function, BindToTaskRunner, from //chromecast/base. I discussed adding it to //base with danakj@ but apparently it has been rejected before. BUG=638771 Committed: https://crrev.com/510f3e9bff01537bca7799b3e9cc2142d64f7376 Cr-Commit-Position: refs/heads/master@{#413175}

Patch Set 1 #

Patch Set 2 : Copy bind_to_task_runner.h from //chromecast/base. #

Patch Set 3 : Convert to base::RunLoop().RunUntilIdle() in test. #

Total comments: 2

Patch Set 4 : Move local_service_ WeakPtr to SharedChangeProcessor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -226 lines) Patch
M components/sync/BUILD.gn View 1 2 chunks +2 lines, -0 lines 0 comments Download
A + components/sync/base/bind_to_task_runner.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
A + components/sync/base/bind_to_task_runner_unittest.cc View 1 2 11 chunks +14 lines, -13 lines 0 comments Download
M components/sync/driver/non_ui_data_type_controller.h View 1 2 3 3 chunks +4 lines, -24 lines 0 comments Download
M components/sync/driver/non_ui_data_type_controller.cc View 1 2 3 11 chunks +27 lines, -142 lines 0 comments Download
M components/sync/driver/non_ui_data_type_controller_mock.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M components/sync/driver/non_ui_data_type_controller_unittest.cc View 1 17 chunks +19 lines, -19 lines 0 comments Download
M components/sync/driver/shared_change_processor.h View 1 2 3 7 chunks +25 lines, -4 lines 0 comments Download
M components/sync/driver/shared_change_processor.cc View 1 2 3 5 chunks +114 lines, -8 lines 0 comments Download
M components/sync/driver/shared_change_processor_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M components/sync/driver/ui_data_type_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
maxbogue
Pavel, PTAL!
4 years, 4 months ago (2016-08-18 00:03:04 UTC) #6
pavely
https://codereview.chromium.org/2257523003/diff/40001/components/sync/driver/non_ui_data_type_controller.cc File components/sync/driver/non_ui_data_type_controller.cc (right): https://codereview.chromium.org/2257523003/diff/40001/components/sync/driver/non_ui_data_type_controller.cc#newcode186 components/sync/driver/non_ui_data_type_controller.cc:186: local_service_ = local_service; Previously local_service_ was assigned on model ...
4 years, 4 months ago (2016-08-18 18:10:06 UTC) #16
maxbogue
https://codereview.chromium.org/2257523003/diff/40001/components/sync/driver/non_ui_data_type_controller.cc File components/sync/driver/non_ui_data_type_controller.cc (right): https://codereview.chromium.org/2257523003/diff/40001/components/sync/driver/non_ui_data_type_controller.cc#newcode186 components/sync/driver/non_ui_data_type_controller.cc:186: local_service_ = local_service; On 2016/08/18 18:10:06, pavely wrote: > ...
4 years, 4 months ago (2016-08-18 22:19:29 UTC) #19
pavely
lgtm
4 years, 4 months ago (2016-08-19 17:04:29 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/2257523003/60001
4 years, 4 months ago (2016-08-19 17:13:37 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-19 17:18:18 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 17:23:54 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/510f3e9bff01537bca7799b3e9cc2142d64f7376
Cr-Commit-Position: refs/heads/master@{#413175}

Powered by Google App Engine
This is Rietveld 408576698