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

Issue 1565503003: Use MetadataChangeList and EntityChangeList in SharedModelTypeProcessor (Closed)

Created:
4 years, 11 months ago by stanisc
Modified:
4 years, 11 months ago
Reviewers:
maxbogue, Gang Wu, skym, pavely
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

Use MetadataChangeList and EntityChangeList in SharedModelTypeProcessor BUG=569678, 569636 Committed: https://crrev.com/227d3214f2b02d201d695faa2f8ea2223b6b62bf Cr-Commit-Position: refs/heads/master@{#369009}

Patch Set 1 #

Total comments: 37

Patch Set 2 : Addressed initial CR comments and added integration with test code #

Patch Set 3 : More unit tests #

Patch Set 4 : Added ClearDataTypeState #

Unified diffs Side-by-side diffs Delta from patch set Stats (+521 lines, -76 lines) Patch
M sync/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M sync/api/entity_change.h View 1 chunk +3 lines, -3 lines 0 comments Download
M sync/api/metadata_change_list.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M sync/api/model_type_service.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M sync/internal_api/public/shared_model_type_processor.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/public/simple_metadata_change_list.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M sync/internal_api/public/simple_metadata_change_list.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A sync/internal_api/public/test/fake_metadata_change_list.h View 1 2 3 1 chunk +57 lines, -0 lines 0 comments Download
M sync/internal_api/public/test/fake_model_type_service.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/shared_model_type_processor.cc View 1 2 9 chunks +87 lines, -41 lines 0 comments Download
M sync/internal_api/shared_model_type_processor_unittest.cc View 1 2 26 chunks +250 lines, -32 lines 0 comments Download
A sync/internal_api/test/fake_metadata_change_list.cc View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
M sync/sync_tests.gypi View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
stanisc
Please do a preliminary review of MetadataChangeList interface and its usage in SharedModelTypeProcessor. The work ...
4 years, 11 months ago (2016-01-06 23:45:42 UTC) #2
skym
All the changes in the processor look good to me, most of my comments are ...
4 years, 11 months ago (2016-01-07 00:40:48 UTC) #3
pavely
lgtm with couple comments. More general though: we'll need unittests for SharedModelTypeProcessor that trigger some ...
4 years, 11 months ago (2016-01-07 20:51:46 UTC) #4
stanisc
On Thu, Jan 7, 2016 at 12:51 PM, <pavely@chromium.org> wrote: > lgtm with couple comments. ...
4 years, 11 months ago (2016-01-07 21:26:10 UTC) #5
skym
https://codereview.chromium.org/1565503003/diff/1/sync/internal_api/shared_model_type_processor.cc File sync/internal_api/shared_model_type_processor.cc (right): https://codereview.chromium.org/1565503003/diff/1/sync/internal_api/shared_model_type_processor.cc#newcode389 sync/internal_api/shared_model_type_processor.cc:389: if (!entity_changes.empty()) { On 2016/01/07 20:51:46, pavely wrote: > ...
4 years, 11 months ago (2016-01-07 21:31:23 UTC) #6
stanisc
I've addressed most of initial CR feedback and included modification to existing test cases to ...
4 years, 11 months ago (2016-01-11 19:56:48 UTC) #7
skym
https://codereview.chromium.org/1565503003/diff/1/sync/api/entity_change.h File sync/api/entity_change.h (right): https://codereview.chromium.org/1565503003/diff/1/sync/api/entity_change.h#newcode37 sync/api/entity_change.h:37: std::string client_key_; On 2016/01/11 19:56:47, stanisc wrote: > On ...
4 years, 11 months ago (2016-01-11 20:45:40 UTC) #8
stanisc
Added ClearDataTypeState method and responded to Sky's comments. PTAL! https://codereview.chromium.org/1565503003/diff/1/sync/api/entity_change.h File sync/api/entity_change.h (right): https://codereview.chromium.org/1565503003/diff/1/sync/api/entity_change.h#newcode37 sync/api/entity_change.h:37: ...
4 years, 11 months ago (2016-01-12 19:32:11 UTC) #9
skym
lgtm https://codereview.chromium.org/1565503003/diff/1/sync/api/entity_change.h File sync/api/entity_change.h (right): https://codereview.chromium.org/1565503003/diff/1/sync/api/entity_change.h#newcode37 sync/api/entity_change.h:37: std::string client_key_; On 2016/01/12 19:32:11, stanisc wrote: > ...
4 years, 11 months ago (2016-01-12 19:38:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1565503003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1565503003/60001
4 years, 11 months ago (2016-01-12 22:14:51 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-12 22:20:24 UTC) #14
commit-bot: I haz the power
4 years, 11 months ago (2016-01-12 22:21:49 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/227d3214f2b02d201d695faa2f8ea2223b6b62bf
Cr-Commit-Position: refs/heads/master@{#369009}

Powered by Google App Engine
This is Rietveld 408576698