gecko-dev/services
Kit Cambridge 4c26a7b758 Bug 1258127 - Move bookmark deletion logic into PlacesSyncUtils.bookmarks.remove. r=tcsc
This patch moves most of `BookmarksStore::deletePending` and
`BookmarksStore::_shouldReviveRemotelyDeletedRecord` into
`PlacesSyncUtils.bookmarks.remove` and `touch`, respectively. Both
methods use the same approach as `PlacesSyncUtils.bookmarks.dedupe` to
amend the `_modified` changeset with new change records.

We use the new `SYNC_REPARENT_REMOVED_FOLDER_CHILDREN` change source to
bump the change counters for the reparented items and their new
parents, without bumping the score and triggering extra syncs.

MozReview-Commit-ID: 1SZvygWNkgL

--HG--
extra : rebase_source : 97fdac6ccb0d0326a3da7e42259dc6a961994ac3
2016-11-17 15:07:14 -08:00
..
cloudsync Bug 1310297 - Remove test annotations using b2g, mulet or gonk: services. r=RyanVM 2016-11-05 11:29:21 +01:00
common Bug 1317587 - don't start scheduled sync after shutdown. r=rnewman 2016-11-15 15:28:52 +11:00
crypto Bug 1310297 - Remove test annotations using b2g, mulet or gonk: services. r=RyanVM 2016-11-05 11:29:21 +01:00
fxaccounts Bug 1310297 - Remove test annotations using b2g, mulet or gonk: services. r=RyanVM 2016-11-05 11:29:21 +01:00
sync Bug 1258127 - Move bookmark deletion logic into PlacesSyncUtils.bookmarks.remove. r=tcsc 2016-11-17 15:07:14 -08:00
moz.build Bug 1252573 - Remove MobileID API. r=sicking,fabrice 2016-08-22 10:31:59 +02:00