diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-13 09:50:54 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-13 09:50:54 +0100 |
commit | 4c431486433428b18610c3578b693f3e1f1136eb (patch) | |
tree | 671b9cb9dc4c1abb5cd3525ca35beff2c762fc66 /services/cloudsync/docs/architecture.rst | |
parent | bf0413359245579e9509146d42cd5547e35da695 (diff) | |
download | UXP-4c431486433428b18610c3578b693f3e1f1136eb.tar UXP-4c431486433428b18610c3578b693f3e1f1136eb.tar.gz UXP-4c431486433428b18610c3578b693f3e1f1136eb.tar.lz UXP-4c431486433428b18610c3578b693f3e1f1136eb.tar.xz UXP-4c431486433428b18610c3578b693f3e1f1136eb.zip |
Remove CloudSync
Tag #812
Diffstat (limited to 'services/cloudsync/docs/architecture.rst')
-rw-r--r-- | services/cloudsync/docs/architecture.rst | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/services/cloudsync/docs/architecture.rst b/services/cloudsync/docs/architecture.rst deleted file mode 100644 index a7a8aa7ba..000000000 --- a/services/cloudsync/docs/architecture.rst +++ /dev/null @@ -1,54 +0,0 @@ -.. _cloudsync_architecture: - -============ -Architecture -============ - -CloudSync offers functionality similar to Firefox Sync for data sources. Third-party addons -(sync adapters) consume local data, send and receive updates from the cloud, and merge remote data. - - -Files -===== - -CloudSync.jsm - Main module; Includes other modules and exposes them. - -CloudSyncAdapters.jsm - Provides an API for addons to register themselves. Will be used to - list available adapters and to notify adapters when sync operations - are requested manually by the user. - -CloudSyncBookmarks.jsm - Provides operations for interacting with bookmarks. - -CloudSyncBookmarksFolderCache.jsm - Implements a cache used to store folder hierarchy for filtering bookmark events. - -CloudSyncEventSource.jsm - Implements an event emitter. Used to provide addEventListener and removeEventListener - for tabs and bookmarks. - -CloudSyncLocal.jsm - Provides information about the local device, such as name and a unique id. - -CloudSyncPlacesWrapper.jsm - Wraps parts of the Places API in promises. Some methods are implemented to be asynchronous - where they are not in the places API. - -CloudSyncTabs.jsm - Provides operations for fetching local tabs and for populating the about:sync-tabs page. - - -Data Sources -============ - -CloudSync provides data for tabs and bookmarks. For tabs, local open pages can be enumerated and -remote tabs can be merged for displaying in about:sync-tabs. For bookmarks, updates are tracked -for a named folder (given by each adapter) and handled by callbacks registered using addEventListener, -and remote changes can be merged into the local database. - -Versioning -========== - -The API carries an integer version number (clouySync.version). Data records are versioned separately and individually. |