Index: chrome/browser/safe_browsing/certificate_reporting_metrics_provider.h |
diff --git a/chrome/browser/safe_browsing/certificate_reporting_metrics_provider.h b/chrome/browser/safe_browsing/certificate_reporting_metrics_provider.h |
index aa4ce7a70d579843e828f2a67182d59217423367..f22819eb2f7fd737e2fdc3c43024da20e8e16c91 100644 |
--- a/chrome/browser/safe_browsing/certificate_reporting_metrics_provider.h |
+++ b/chrome/browser/safe_browsing/certificate_reporting_metrics_provider.h |
@@ -8,10 +8,13 @@ |
#include "base/macros.h" |
#include "components/metrics/metrics_provider.h" |
-// When user metrics are about to be uploaded, |
+// CertificateReportingService doesn't do its own scheduling when retrying |
+// uploads of failed reports. Instead, it piggybacks off of the metrics service |
+// scheduler. |
+// |
+// When the metrics services requests metrics to be uploaded, |
// CertificateReportingMetricsProvider looks up the CertificateReportingService |
-// for the current profile and tells it to record its metrics before the upload |
-// occurs. |
+// for the current profile and tells it send all pending reports at once. |
class CertificateReportingMetricsProvider : public metrics::MetricsProvider { |
public: |
CertificateReportingMetricsProvider(); |