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

Issue 2412193002: [Sync] Move SharedModelTypeProcessor to model_impl/. (Closed)

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

Description

[Sync] Move SharedModelTypeProcessor to model_impl/. - Move shared_model_type_processor* to model_impl/ - Move processor_entity_tracker* to model_impl/ - Replace SharedModelTypeProcessor::CreateAsChangeProcessor() with ModelTypeChangeProcessor::Create(). - Remove model_type_connector_proxy_unittest.cc as it mostly just tests WeakPtr functionality or things covered in the worker tests. - Introduce ModelTypeDebugInfo, a friend class of SMTP, to hold all the debug logic Gang has been adding to SMTP. - An unrelated cleanup tweak in the worker test. BUG=631271 Committed: https://crrev.com/2a1e232d951e2069ca2cb98e5beb6923a13036a5 Cr-Commit-Position: refs/heads/master@{#424921}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comment from Sky. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -3404 lines) Patch
M chrome/browser/sync/test/integration/two_client_uss_sync_test.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/browser_sync/profile_sync_service.cc View 4 chunks +3 lines, -3 lines 0 comments Download
M components/sync/BUILD.gn View 5 chunks +8 lines, -7 lines 0 comments Download
D components/sync/core/processor_entity_tracker.h View 1 chunk +0 lines, -153 lines 0 comments Download
D components/sync/core/processor_entity_tracker.cc View 1 chunk +0 lines, -250 lines 0 comments Download
D components/sync/core/processor_entity_tracker_unittest.cc View 1 chunk +0 lines, -484 lines 0 comments Download
D components/sync/core/shared_model_type_processor.h View 1 chunk +0 lines, -215 lines 0 comments Download
D components/sync/core/shared_model_type_processor.cc View 1 chunk +0 lines, -714 lines 0 comments Download
D components/sync/core/shared_model_type_processor_unittest.cc View 1 chunk +0 lines, -1273 lines 0 comments Download
D components/sync/core_impl/model_type_connector_proxy_unittest.cc View 1 chunk +0 lines, -133 lines 0 comments Download
M components/sync/driver/model_type_controller.cc View 3 chunks +5 lines, -45 lines 0 comments Download
M components/sync/driver/model_type_controller_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/sync/driver/sync_client.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/engine_impl/model_type_worker_unittest.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M components/sync/model/model_type_change_processor.h View 2 chunks +8 lines, -4 lines 0 comments Download
M components/sync/model/model_type_change_processor.cc View 1 chunk +10 lines, -1 line 0 comments Download
A components/sync/model/model_type_debug_info.h View 1 chunk +53 lines, -0 lines 0 comments Download
A components/sync/model/model_type_debug_info.cc View 1 chunk +110 lines, -0 lines 0 comments Download
M components/sync/model_impl/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A + components/sync/model_impl/processor_entity_tracker.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/sync/model_impl/processor_entity_tracker.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/sync/model_impl/processor_entity_tracker_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/sync/model_impl/shared_model_type_processor.h View 6 chunks +4 lines, -29 lines 0 comments Download
A + components/sync/model_impl/shared_model_type_processor.cc View 5 chunks +2 lines, -74 lines 0 comments Download
A + components/sync/model_impl/shared_model_type_processor_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
maxbogue
Sky, PTAL! Note that the SMTP test file should be a very easy merge :P
4 years, 2 months ago (2016-10-12 18:11:24 UTC) #4
skym
lgtm https://codereview.chromium.org/2412193002/diff/1/components/sync/engine_impl/model_type_worker_unittest.cc File components/sync/engine_impl/model_type_worker_unittest.cc (right): https://codereview.chromium.org/2412193002/diff/1/components/sync/engine_impl/model_type_worker_unittest.cc#newcode182 components/sync/engine_impl/model_type_worker_unittest.cc:182: processor->SetDisconnectCallback(base::Bind( I think it's weird that you assign ...
4 years, 2 months ago (2016-10-12 21:53:45 UTC) #7
maxbogue
https://codereview.chromium.org/2412193002/diff/1/components/sync/engine_impl/model_type_worker_unittest.cc File components/sync/engine_impl/model_type_worker_unittest.cc (right): https://codereview.chromium.org/2412193002/diff/1/components/sync/engine_impl/model_type_worker_unittest.cc#newcode182 components/sync/engine_impl/model_type_worker_unittest.cc:182: processor->SetDisconnectCallback(base::Bind( On 2016/10/12 21:53:45, skym wrote: > I think ...
4 years, 2 months ago (2016-10-12 22:48:55 UTC) #8
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/2412193002/20001
4 years, 2 months ago (2016-10-12 22:49:37 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-13 00:33:11 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 00:36:37 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2a1e232d951e2069ca2cb98e5beb6923a13036a5
Cr-Commit-Position: refs/heads/master@{#424921}

Powered by Google App Engine
This is Rietveld 408576698