gecko-dev/services/sync/modules
Lina Cambridge 6245c3b363 Bug 1636365 - Split out persistence from Tracker into LegacyTracker. r=markh,rfkelly
The tracker base class currently does two things: bump the score in
response to observer notifications, and store a list of changed IDs.
The bookmarks, form autofill, and now bridged trackers need to hack
around this to opt out of persistence, since they handle change
tracking in the storage layer.

This commit keeps the score logic in `Tracker`, but moves all the
persistence code into an intermediate `LegacyTracker` class, and
changes all engines that need persistence to inherit from it.

`ignoreAll` is more interesting. We want new-style stores to emit
observer notifications with change sources, so that the tracker knows
to ignore changes made by Sync. Ignoring all observer notifications
during a sync is a blunter version of this. But, not every new store
supports change sources, so we reimplement `ignoreAll` manually for
ones that don't.

Differential Revision: https://phabricator.services.mozilla.com/D74374
2020-05-13 03:56:53 +00:00
..
engines Bug 1636365 - Split out persistence from Tracker into LegacyTracker. r=markh,rfkelly 2020-05-13 03:56:53 +00:00
stages Bug 1621806 - Reduce frequency of client-side extension-storage syncs. r=markh 2020-03-17 19:36:58 +00:00
addonsreconciler.js Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
addonutils.js Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
bookmark_repair.js Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
bookmark_validator.js
bridged_engine.js Bug 1634191 - Wire up Golden Gate to the new Rust extension storage interface. r=markh 2020-05-05 06:59:32 +00:00
browserid_identity.js Bug 1604844 - add identifiers from the sync ping to the deletion-request ping. r=markh,chutten 2020-04-29 07:47:38 +00:00
collection_repair.js
collection_validator.js
constants.js Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-05-04 14:53:37 +00:00
doctor.js Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
engines.js Bug 1636365 - Split out persistence from Tracker into LegacyTracker. r=markh,rfkelly 2020-05-13 03:56:53 +00:00
keys.js
main.js
policies.js Bug 1621806 - Reduce frequency of client-side extension-storage syncs. r=markh 2020-03-17 19:36:58 +00:00
record.js Bug 1634191 - Pass BSO fields along with Sync record payloads to bridged Rust engines. r=markh 2020-05-04 22:25:00 +00:00
resource.js
service.js Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
status.js
SyncedTabs.jsm Bug 1579334 - Properly limit remote tab matches in the quantumbar. r=mak 2019-10-22 15:22:48 +00:00
telemetry.js Bug 1636053 - correctly include deviceID in the sync ping. r=markh 2020-05-07 10:47:24 +00:00
UIState.jsm
util.js