зеркало из https://github.com/mozilla/gecko-dev.git
Bug 834159 - Minor doc bugs in FHR. r=gps
This commit is contained in:
Родитель
a24ce416fa
Коммит
79b3dbdd93
|
@ -32,7 +32,7 @@ const DEFAULT_LOAD_DELAY_MSEC = 10 * 1000;
|
|||
* EXAMPLE USAGE
|
||||
* =============
|
||||
*
|
||||
* let reporter = Cc["@mozilla.org/healthreport/service;1"]
|
||||
* let reporter = Cc["@mozilla.org/datareporting/service;1"]
|
||||
* .getService(Ci.nsISupports)
|
||||
* .wrappedJSObject
|
||||
* .healthReporter;
|
||||
|
|
|
@ -38,7 +38,8 @@ const DEFAULT_DATABASE_NAME = "healthreport.sqlite";
|
|||
* lower-level components (such as collection and submission) together.
|
||||
*
|
||||
* An instance of this type is created as an XPCOM service. See
|
||||
* HealthReportService.js and HealthReportComponents.manifest.
|
||||
* DataReportingService.js and
|
||||
* DataReporting.manifest/HealthReportComponents.manifest.
|
||||
*
|
||||
* It is theoretically possible to have multiple instances of this running
|
||||
* in the application. For example, this type may one day handle submission
|
||||
|
@ -483,7 +484,7 @@ HealthReporter.prototype = Object.freeze({
|
|||
* Register a `Metrics.Provider` with this instance.
|
||||
*
|
||||
* This needs to be called or no data will be collected. See also
|
||||
* registerProvidersFromCategoryManager`.
|
||||
* `registerProvidersFromCategoryManager`.
|
||||
*
|
||||
* @param provider
|
||||
* (Metrics.Provider) The provider to register for collection.
|
||||
|
|
Загрузка…
Ссылка в новой задаче