From 79b3dbdd93d653c9c15cbec66f3a08b09c62ecb4 Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Thu, 24 Jan 2013 11:10:18 -0800 Subject: [PATCH] Bug 834159 - Minor doc bugs in FHR. r=gps --- services/datareporting/DataReportingService.js | 2 +- services/healthreport/healthreporter.jsm | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/services/datareporting/DataReportingService.js b/services/datareporting/DataReportingService.js index 0bf81b05fad8..0bca5e00e203 100644 --- a/services/datareporting/DataReportingService.js +++ b/services/datareporting/DataReportingService.js @@ -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; diff --git a/services/healthreport/healthreporter.jsm b/services/healthreport/healthreporter.jsm index ebb61280920a..37dc9a01d55e 100644 --- a/services/healthreport/healthreporter.jsm +++ b/services/healthreport/healthreporter.jsm @@ -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.