Bug 834159 - Minor doc bugs in FHR. r=gps

This commit is contained in:
Richard Newman 2013-01-24 11:10:18 -08:00
parent 87a4213d82
commit 6c1628be1c
2 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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.