mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 1485116 - Remove SEARCH_SERVICE_ENGINE_COUNT r=adw
Differential Revision: https://phabricator.services.mozilla.com/D3913 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
7f9771ca36
commit
bda7175658
@ -2675,7 +2675,6 @@ SearchService.prototype = {
|
||||
|
||||
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete");
|
||||
Services.telemetry.getHistogramById("SEARCH_SERVICE_INIT_SYNC").add(true);
|
||||
this._recordEngineTelemetry();
|
||||
|
||||
LOG("_syncInit end");
|
||||
},
|
||||
@ -2718,7 +2717,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(false);
|
||||
this._recordEngineTelemetry();
|
||||
|
||||
LOG("_asyncInit: Completed _asyncInit");
|
||||
},
|
||||
@ -3021,7 +3019,6 @@ SearchService.prototype = {
|
||||
// so signal to 'callers' that we're done.
|
||||
gInitialized = true;
|
||||
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete");
|
||||
this._recordEngineTelemetry();
|
||||
} catch (err) {
|
||||
LOG("Reinit failed: " + err);
|
||||
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "reinit-failed");
|
||||
@ -4257,11 +4254,6 @@ SearchService.prototype = {
|
||||
return result;
|
||||
},
|
||||
|
||||
_recordEngineTelemetry() {
|
||||
Services.telemetry.getHistogramById("SEARCH_SERVICE_ENGINE_COUNT")
|
||||
.add(Object.keys(this._engines).length);
|
||||
},
|
||||
|
||||
/**
|
||||
* This map is built lazily after the available search engines change. It
|
||||
* allows quick parsing of an URL representing a search submission into the
|
||||
|
@ -8015,17 +8015,6 @@
|
||||
"kind": "boolean",
|
||||
"description": "search service has been initialized synchronously"
|
||||
},
|
||||
"SEARCH_SERVICE_ENGINE_COUNT": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"releaseChannelCollection": "opt-out",
|
||||
"alert_emails": ["florian@mozilla.com"],
|
||||
"expires_in_version": "60",
|
||||
"bug_numbers": [1268424],
|
||||
"kind": "linear",
|
||||
"high": 200,
|
||||
"n_buckets": 50,
|
||||
"description": "Recorded once per session near startup: records the search plugin count, including both built-in plugins (including the ones the user has hidden) and user-installed plugins."
|
||||
},
|
||||
"SEARCH_SERVICE_COUNTRY_FETCH_TIME_MS": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"alert_emails": ["mhammond@mozilla.com", "gavin@mozilla.com"],
|
||||
|
Loading…
Reference in New Issue
Block a user