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

Issue 2406163006: [Sync] Services can now always assume processor exists. (Closed)

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

Description

[Sync] Services can now always assume processor exists. BUG=653219 Committed: https://crrev.com/345782f64469290397bb2a80087dcfe3cf09ab43 Cr-Commit-Position: refs/heads/master@{#425165}

Patch Set 1 : IWYU #

Total comments: 24

Patch Set 2 : Rebase, updates for Max, fixing controller tests, and compilation on some bots." #

Patch Set 3 : Removing ExpectHasChangeProcessor #

Patch Set 4 : Fixing integ test compile. #

Total comments: 7

Patch Set 5 : Updates for Max. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -408 lines) Patch
M chrome/browser/sync/test/integration/two_client_uss_sync_test.cc View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M components/sync/device_info/device_info_service.h View 2 chunks +0 lines, -3 lines 0 comments Download
M components/sync/device_info/device_info_service.cc View 12 chunks +8 lines, -64 lines 0 comments Download
M components/sync/device_info/device_info_service_unittest.cc View 1 24 chunks +59 lines, -80 lines 0 comments Download
M components/sync/driver/model_type_controller_unittest.cc View 1 2 5 chunks +3 lines, -22 lines 0 comments Download
M components/sync/model/fake_model_type_change_processor.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/model/fake_model_type_change_processor.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/sync/model/fake_model_type_service.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M components/sync/model/fake_model_type_service.cc View 1 12 chunks +25 lines, -26 lines 0 comments Download
M components/sync/model/model_type_change_processor.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M components/sync/model/model_type_service.h View 2 chunks +3 lines, -13 lines 0 comments Download
M components/sync/model/model_type_service.cc View 2 chunks +13 lines, -16 lines 0 comments Download
M components/sync/model/model_type_service_unittest.cc View 1 2 3 4 6 chunks +42 lines, -32 lines 0 comments Download
M components/sync/model/stub_model_type_service.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M components/sync/model/stub_model_type_service.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M components/sync/model_impl/shared_model_type_processor.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/model_impl/shared_model_type_processor.cc View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M components/sync/model_impl/shared_model_type_processor_unittest.cc View 1 2 3 4 54 chunks +169 lines, -133 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
skym
PTAL
4 years, 2 months ago (2016-10-12 19:16:20 UTC) #6
maxbogue
https://codereview.chromium.org/2406163006/diff/40001/components/sync/core/shared_model_type_processor.cc File components/sync/core/shared_model_type_processor.cc (right): https://codereview.chromium.org/2406163006/diff/40001/components/sync/core/shared_model_type_processor.cc#newcode161 components/sync/core/shared_model_type_processor.cc:161: DCHECK(CalledOnValidThread()); Should probably DCHECK(IsTrackingMetadata()); here, no? https://codereview.chromium.org/2406163006/diff/40001/components/sync/core/shared_model_type_processor_unittest.cc File components/sync/core/shared_model_type_processor_unittest.cc ...
4 years, 2 months ago (2016-10-12 23:40:35 UTC) #9
skym
Fixes for Max and trybots pass. https://codereview.chromium.org/2406163006/diff/40001/components/sync/core/shared_model_type_processor.cc File components/sync/core/shared_model_type_processor.cc (right): https://codereview.chromium.org/2406163006/diff/40001/components/sync/core/shared_model_type_processor.cc#newcode161 components/sync/core/shared_model_type_processor.cc:161: DCHECK(CalledOnValidThread()); On 2016/10/12 ...
4 years, 2 months ago (2016-10-13 19:21:38 UTC) #18
maxbogue
lgtm! Great to see things getting simpler for services :D https://codereview.chromium.org/2406163006/diff/40001/components/sync/core/shared_model_type_processor.cc File components/sync/core/shared_model_type_processor.cc (right): https://codereview.chromium.org/2406163006/diff/40001/components/sync/core/shared_model_type_processor.cc#newcode161 ...
4 years, 2 months ago (2016-10-13 20:11:05 UTC) #19
skym
https://codereview.chromium.org/2406163006/diff/40001/components/sync/core/shared_model_type_processor.cc File components/sync/core/shared_model_type_processor.cc (right): https://codereview.chromium.org/2406163006/diff/40001/components/sync/core/shared_model_type_processor.cc#newcode161 components/sync/core/shared_model_type_processor.cc:161: DCHECK(CalledOnValidThread()); On 2016/10/13 20:11:04, maxbogue wrote: > On 2016/10/13 ...
4 years, 2 months ago (2016-10-13 20:36:28 UTC) #20
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/2406163006/120001
4 years, 2 months ago (2016-10-13 20:36:53 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 2 months ago (2016-10-13 21:23:08 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 21:26:12 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/345782f64469290397bb2a80087dcfe3cf09ab43
Cr-Commit-Position: refs/heads/master@{#425165}

Powered by Google App Engine
This is Rietveld 408576698