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

Issue 2245073003: [Sync] Clean up intra-sync DEPS significantly. (Closed)

Created:
4 years, 4 months ago by maxbogue
Modified:
4 years, 4 months ago
Reviewers:
skym
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, 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] Clean up intra-sync DEPS significantly. This change is cleaning up some of the DEPS weirdness left over from the directory structure shuffle that was done when sync was moved to a component. See the bug for more context. - fake_encryptor moved from test/ to base/ next to its base class. - commit_queue moved from engine_impl/ to engine/ because of uses in driver/. - sync_string_conversions moved from base/ to engine/ because of dependencies on core/. - model_type_registry moved from sessions_impl/ to engine_impl/ because of dependencies on core/ and it having little to do with sessions. BUG=637950 Committed: https://crrev.com/f727e610b5fdc72c17a0b62cc4793d1d72e542e8 Cr-Commit-Position: refs/heads/master@{#412099}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments/fix test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -1025 lines) Patch
M chrome/browser/sync/test/integration/profile_sync_service_harness.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/browser_sync/browser/profile_sync_service.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/sync/BUILD.gn View 10 chunks +9 lines, -9 lines 0 comments Download
M components/sync/android/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M components/sync/api/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M components/sync/base/DEPS View 1 chunk +0 lines, -4 lines 0 comments Download
M components/sync/base/cryptographer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/sync/base/fake_encryptor.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/sync/base/fake_encryptor.cc View 1 chunk +1 line, -1 line 0 comments Download
D components/sync/base/sync_string_conversions.h View 1 chunk +0 lines, -23 lines 0 comments Download
D components/sync/base/sync_string_conversions.cc View 1 chunk +0 lines, -58 lines 0 comments Download
M components/sync/core/shared_model_type_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/core/shared_model_type_processor_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/core_impl/js_sync_encryption_handler_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/core_impl/js_sync_encryption_handler_observer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync/core_impl/js_sync_manager_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/core_impl/js_sync_manager_observer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/core_impl/model_type_connector_proxy_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/core_impl/sync_encryption_handler_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/core_impl/sync_encryption_handler_impl_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/sync/core_impl/sync_manager_impl_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/sync/core_impl/test/fake_model_type_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M components/sync/driver/about_sync_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/sync/driver/non_ui_model_type_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/ui_model_type_controller_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/sync/engine/DEPS View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + components/sync/engine/commit_queue.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/sync/engine/commit_queue.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/sync/engine/sync_string_conversions.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/sync/engine/sync_string_conversions.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/engine_impl/DEPS View 1 1 chunk +2 lines, -8 lines 0 comments Download
M components/sync/engine_impl/commit_processor.h View 1 chunk +1 line, -1 line 0 comments Download
D components/sync/engine_impl/commit_queue.h View 1 chunk +0 lines, -24 lines 0 comments Download
D components/sync/engine_impl/commit_queue.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M components/sync/engine_impl/get_updates_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/engine_impl/get_updates_processor.h View 1 chunk +1 line, -1 line 0 comments Download
A + components/sync/engine_impl/model_type_registry.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/sync/engine_impl/model_type_registry.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A + components/sync/engine_impl/model_type_registry_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/engine_impl/model_type_worker.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/engine_impl/model_type_worker_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/sync/engine_impl/syncer_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/sync/sessions_impl/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
D components/sync/sessions_impl/model_type_registry.h View 1 chunk +0 lines, -169 lines 0 comments Download
D components/sync/sessions_impl/model_type_registry.cc View 1 chunk +0 lines, -321 lines 0 comments Download
D components/sync/sessions_impl/model_type_registry_unittest.cc View 1 chunk +0 lines, -279 lines 0 comments Download
M components/sync/sessions_impl/sync_session_context.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/sync_tests.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync/syncable/directory_unittest.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/syncable/syncable_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/sync/test/engine/mock_model_type_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/test/engine/mock_model_type_worker.h View 1 chunk +1 line, -1 line 0 comments Download
D components/sync/test/fake_encryptor.h View 1 chunk +0 lines, -30 lines 0 comments Download
D components/sync/test/fake_encryptor.cc View 1 chunk +0 lines, -24 lines 0 comments Download
M components/sync/test/fake_sync_encryption_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/tools/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M components/sync/tools/sync_client.cc View 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (12 generated)
maxbogue
Sky, PTAL!
4 years, 4 months ago (2016-08-15 21:52:49 UTC) #4
skym
lgtm https://codereview.chromium.org/2245073003/diff/1/components/sync/driver/ui_model_type_controller_unittest.cc File components/sync/driver/ui_model_type_controller_unittest.cc (right): https://codereview.chromium.org/2245073003/diff/1/components/sync/driver/ui_model_type_controller_unittest.cc#newcode48 components/sync/driver/ui_model_type_controller_unittest.cc:48: class NullCommitQueue : public syncer_v2::CommitQueue { Can you ...
4 years, 4 months ago (2016-08-15 22:17:53 UTC) #5
maxbogue
https://codereview.chromium.org/2245073003/diff/1/components/sync/driver/ui_model_type_controller_unittest.cc File components/sync/driver/ui_model_type_controller_unittest.cc (right): https://codereview.chromium.org/2245073003/diff/1/components/sync/driver/ui_model_type_controller_unittest.cc#newcode48 components/sync/driver/ui_model_type_controller_unittest.cc:48: class NullCommitQueue : public syncer_v2::CommitQueue { On 2016/08/15 22:17:53, ...
4 years, 4 months ago (2016-08-15 22:35:07 UTC) #9
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/2245073003/20001
4 years, 4 months ago (2016-08-15 23:40:57 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-15 23:46:06 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 23:48:32 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f727e610b5fdc72c17a0b62cc4793d1d72e542e8
Cr-Commit-Position: refs/heads/master@{#412099}

Powered by Google App Engine
This is Rietveld 408576698