summaryrefslogtreecommitdiff
path: root/components/search/service/nsSearchService.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/search/service/nsSearchService.js')
-rw-r--r--components/search/service/nsSearchService.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/components/search/service/nsSearchService.js b/components/search/service/nsSearchService.js
index b4db31d..aaa719e 100644
--- a/components/search/service/nsSearchService.js
+++ b/components/search/service/nsSearchService.js
@@ -2309,8 +2309,6 @@ SearchService.prototype = {
this._initObservers.resolve(this._initRV);
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete");
- Services.telemetry.getHistogramById("SEARCH_SERVICE_INIT_SYNC").add(true);
- this._recordEngineTelemetry();
LOG("_syncInit end");
},
@@ -2348,8 +2346,6 @@ SearchService.prototype = {
this._cacheFileJSON = null;
this._initObservers.resolve(this._initRV);
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete");
- Services.telemetry.getHistogramById("SEARCH_SERVICE_INIT_SYNC").add(false);
- this._recordEngineTelemetry();
LOG("_asyncInit: Completed _asyncInit");
}),
@@ -2715,7 +2711,6 @@ SearchService.prototype = {
// Typically we'll re-init as a result of a pref observer,
// so signal to 'callers' that we're done.
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete");
- this._recordEngineTelemetry();
gInitialized = true;
} catch (err) {
LOG("Reinit failed: " + err);
@@ -3892,25 +3887,6 @@ SearchService.prototype = {
return result;
},
- _recordEngineTelemetry: function() {
- Services.telemetry.getHistogramById("SEARCH_SERVICE_ENGINE_COUNT")
- .add(Object.keys(this._engines).length);
- let hasUpdates = false;
- let hasIconUpdates = false;
- for (let name in this._engines) {
- let engine = this._engines[name];
- if (engine._hasUpdates) {
- hasUpdates = true;
- if (engine._iconUpdateURL) {
- hasIconUpdates = true;
- break;
- }
- }
- }
- Services.telemetry.getHistogramById("SEARCH_SERVICE_HAS_UPDATES").add(hasUpdates);
- Services.telemetry.getHistogramById("SEARCH_SERVICE_HAS_ICON_UPDATES").add(hasIconUpdates);
- },
-
/**
* This map is built lazily after the available search engines change. It
* allows quick parsing of an URL representing a search submission into the