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

Issue 1321613003: [Sync] Use ModelTypeProcessor instead of ModelTypeProcessorImpl. (Closed)

Created:
5 years, 3 months ago by maxbogue
Modified:
5 years, 3 months ago
Reviewers:
stanisc
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Use ModelTypeProcessor instead of ModelTypeProcessorImpl. This CL doesn't touch ModelTypeProcessorImpl in DataTypeController because ModelTypeProcessor doesn't have the functionality for it. Those uses will be removed in a separate refactor. Also fixes a bunch of incorrect variable names. BUG=517953 Committed: https://crrev.com/4824734c493af37e7602a27004bbc4a88aa04d6e Cr-Commit-Position: refs/heads/master@{#347880}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Revert unnecessary changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -119 lines) Patch
M components/sync_driver/non_blocking_data_type_controller.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/non_blocking_data_type_controller_unittest.cc View 17 chunks +67 lines, -67 lines 0 comments Download
M sync/engine/model_type_processor_impl_unittest.cc View 8 chunks +24 lines, -25 lines 0 comments Download
M sync/internal_api/public/sync_context.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/public/sync_context_proxy.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/public/test/null_sync_context_proxy.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/sync_context_proxy_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/sync_context_proxy_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/test/null_sync_context_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/sessions/model_type_registry.h View 2 chunks +3 lines, -2 lines 0 comments Download
M sync/sessions/model_type_registry.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M sync/test/engine/injectable_sync_context_proxy.h View 2 chunks +3 lines, -3 lines 0 comments Download
M sync/test/engine/injectable_sync_context_proxy.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
maxbogue
Hey Stan, PTAL!
5 years, 3 months ago (2015-09-08 22:17:40 UTC) #2
stanisc
In model_type_processor_impl.h should weak_ptr_factory_for_sync_ be changed from base::WeakPtrFactory<ModelTypeProcessorImpl> to base::WeakPtrFactory<ModelTypeProcessor>? https://codereview.chromium.org/1321613003/diff/1/sync/engine/model_type_entity_unittest.cc File sync/engine/model_type_entity_unittest.cc (right): https://codereview.chromium.org/1321613003/diff/1/sync/engine/model_type_entity_unittest.cc#newcode20 ...
5 years, 3 months ago (2015-09-08 23:40:27 UTC) #3
maxbogue
I can't update the WeakPtrFactory yet because the DataTypeController needs to get an Impl from ...
5 years, 3 months ago (2015-09-09 00:16:47 UTC) #4
stanisc
lgtm
5 years, 3 months ago (2015-09-09 01:02:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321613003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321613003/20001
5 years, 3 months ago (2015-09-09 01:07:29 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-09 09:13:24 UTC) #8
commit-bot: I haz the power
5 years, 3 months ago (2015-09-09 09:13:54 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4824734c493af37e7602a27004bbc4a88aa04d6e
Cr-Commit-Position: refs/heads/master@{#347880}

Powered by Google App Engine
This is Rietveld 408576698