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

Issue 2254083002: [Sync] Convert NonBlockingDataTypeController to be single-thread. (Closed)

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

Description

[Sync] Convert NonBlockingDataTypeController to be single-thread. This change makes ModelTypeService support WeakPtr, which I believe would have been necessary eventually anyways. After this change, the only calls left on the model thread are the DataTypeErrorHandler calls. BUG=638771 Committed: https://crrev.com/102ca3cf8350354d28ae382fda25a355d1c4069a Cr-Commit-Position: refs/heads/master@{#413777}

Patch Set 1 #

Patch Set 2 : Use correct upstream branch. #

Patch Set 3 : Rebase. #

Patch Set 4 : Fix iOS. #

Total comments: 8

Patch Set 5 : Update DeviceInfoService. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -90 lines) Patch
M chrome/browser/sync/chrome_sync_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/chrome_sync_client.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M components/sync/api/model_type_service.h View 2 chunks +2 lines, -1 line 0 comments Download
M components/sync/device_info/device_info_service.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M components/sync/device_info/device_info_service.cc View 1 2 3 4 5 chunks +7 lines, -8 lines 0 comments Download
M components/sync/driver/fake_sync_client.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/fake_sync_client.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/sync/driver/non_blocking_data_type_controller.h View 1 2 3 4 1 chunk +1 line, -15 lines 0 comments Download
M components/sync/driver/non_blocking_data_type_controller.cc View 1 7 chunks +14 lines, -38 lines 0 comments Download
M components/sync/driver/non_ui_model_type_controller_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync/driver/sync_client.h View 1 chunk +5 lines, -7 lines 0 comments Download
M components/sync/driver/ui_model_type_controller_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/sync/ios_chrome_sync_client.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/sync/ios_chrome_sync_client.mm View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
maxbogue
Hey Sky, PTAL!
4 years, 4 months ago (2016-08-21 22:47:12 UTC) #10
skym
https://codereview.chromium.org/2254083002/diff/60001/components/sync/api/model_type_service.h File components/sync/api/model_type_service.h (right): https://codereview.chromium.org/2254083002/diff/60001/components/sync/api/model_type_service.h#newcode33 components/sync/api/model_type_service.h:33: class ModelTypeService : public base::SupportsWeakPtr<ModelTypeService> { In addition to ...
4 years, 4 months ago (2016-08-22 17:34:17 UTC) #11
maxbogue
https://codereview.chromium.org/2254083002/diff/60001/components/sync/api/model_type_service.h File components/sync/api/model_type_service.h (right): https://codereview.chromium.org/2254083002/diff/60001/components/sync/api/model_type_service.h#newcode33 components/sync/api/model_type_service.h:33: class ModelTypeService : public base::SupportsWeakPtr<ModelTypeService> { On 2016/08/22 17:34:17, ...
4 years, 4 months ago (2016-08-23 16:58:52 UTC) #16
skym
lgtm
4 years, 4 months ago (2016-08-23 17:09:33 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/2254083002/80001
4 years, 4 months ago (2016-08-23 17:27:32 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-23 17:33:57 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 17:36:32 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/102ca3cf8350354d28ae382fda25a355d1c4069a
Cr-Commit-Position: refs/heads/master@{#413777}

Powered by Google App Engine
This is Rietveld 408576698