diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-10-06 12:07:35 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-10-06 12:07:35 +0200 |
commit | eae3be4cfe133a86cc4175ebee9ce72055973b40 (patch) | |
tree | b845d1a67ea047c2eb6487cc554f693f686af743 /services/sync/modules/service.js | |
parent | 04ebf989fb9dcbd2d67efa5194695ede1f417712 (diff) | |
download | UXP-eae3be4cfe133a86cc4175ebee9ce72055973b40.tar UXP-eae3be4cfe133a86cc4175ebee9ce72055973b40.tar.gz UXP-eae3be4cfe133a86cc4175ebee9ce72055973b40.tar.lz UXP-eae3be4cfe133a86cc4175ebee9ce72055973b40.tar.xz UXP-eae3be4cfe133a86cc4175ebee9ce72055973b40.zip |
Make Everything Workâ˘
Diffstat (limited to 'services/sync/modules/service.js')
-rw-r--r-- | services/sync/modules/service.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js index f3837a949..2631efafd 100644 --- a/services/sync/modules/service.js +++ b/services/sync/modules/service.js @@ -51,15 +51,6 @@ const STORAGE_INFO_TYPES = [INFO_COLLECTIONS, INFO_COLLECTION_COUNTS, INFO_QUOTA]; -// A structure mapping a (boolean) telemetry probe name to a preference name. -// The probe will record true if the pref is modified, false otherwise. -const TELEMETRY_CUSTOM_SERVER_PREFS = { - WEAVE_CUSTOM_LEGACY_SERVER_CONFIGURATION: "services.sync.serverURL", - WEAVE_CUSTOM_FXA_SERVER_CONFIGURATION: "identity.fxaccounts.auth.uri", - WEAVE_CUSTOM_TOKEN_SERVER_CONFIGURATION: "services.sync.tokenServerURI", -}; - - function Sync11Service() { this._notify = Utils.notify("weave:service:"); } @@ -377,12 +368,6 @@ Sync11Service.prototype = { Svc.Obs.notify("weave:engine:start-tracking"); } - // Telemetry probes to indicate if the user is using custom servers. - for (let [probeName, prefName] of Iterator(TELEMETRY_CUSTOM_SERVER_PREFS)) { - let isCustomized = Services.prefs.prefHasUserValue(prefName); - Services.telemetry.getHistogramById(probeName).add(isCustomized); - } - // Send an event now that Weave service is ready. We don't do this // synchronously so that observers can import this module before // registering an observer. |