summaryrefslogtreecommitdiffstats
path: root/services/cloudsync/docs/architecture.rst
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-13 09:50:54 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-13 09:50:54 +0100
commit4c431486433428b18610c3578b693f3e1f1136eb (patch)
tree671b9cb9dc4c1abb5cd3525ca35beff2c762fc66 /services/cloudsync/docs/architecture.rst
parentbf0413359245579e9509146d42cd5547e35da695 (diff)
downloadUXP-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.rst54
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.