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

Issue 2611123005: [Sync] ModelTypeWorker should delete tracker for entity deleted on the server (Closed)

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

Description

[Sync] ModelTypeWorker should delete tracker for entity deleted on the server The issue is that when entity is deleted, worker retains entity tracker object. Later when entity is recreated information from old tracker object is used. I'm changing worker to delete tracker object when it receives commit response about deleted entity. BUG=677792 R=maxbogue@chromium.org Review-Url: https://codereview.chromium.org/2611123005 Cr-Commit-Position: refs/heads/master@{#442350} Committed: https://chromium.googlesource.com/chromium/src/+/a110d353ecca5d521ce7ec513e0493c98f0b37ed

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 1

Patch Set 3 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -5 lines) Patch
M components/sync/engine_impl/model_type_worker.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M components/sync/engine_impl/model_type_worker_unittest.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M components/sync/engine_impl/worker_entity_tracker.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync/engine_impl/worker_entity_tracker.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M components/sync/test/engine/mock_model_type_processor.h View 2 chunks +5 lines, -0 lines 0 comments Download
M components/sync/test/engine/mock_model_type_processor.cc View 2 chunks +18 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
pavely
3 years, 11 months ago (2017-01-06 20:10:31 UTC) #3
maxbogue
I thought we decided we had to keep the entity around until the processor got ...
3 years, 11 months ago (2017-01-07 02:03:37 UTC) #6
maxbogue
I was reminded offline that this is a special case that we can handle because ...
3 years, 11 months ago (2017-01-09 19:44:48 UTC) #7
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/2611123005/40001
3 years, 11 months ago (2017-01-09 20:15:10 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 21:25:02 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a110d353ecca5d521ce7ec513e04...

Powered by Google App Engine
This is Rietveld 408576698