Index: chrome/browser/component_updater/sw_reporter_installer_win.h |
diff --git a/chrome/browser/component_updater/sw_reporter_installer_win.h b/chrome/browser/component_updater/sw_reporter_installer_win.h |
index a3d0d4ebb56c8b56b1237cb5d2d1177c997d330f..6fda9447c0989be18f34f29171588bbd08b9c759 100644 |
--- a/chrome/browser/component_updater/sw_reporter_installer_win.h |
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.h |
@@ -21,12 +21,13 @@ class ComponentUpdateService; |
// be called from the UI thread. |
void ExecuteSwReporter(ComponentUpdateService* cus, PrefService* prefs); |
-// ExecutePending will only register/execute the SwReporter if a preference is |
-// set in |prefs|, identifying that an attempt to register/execute the |
-// SwReporter has already been made by calling ExecuteSwReporter above. But only |
-// if the max number of retries has not been reached yet. This must be called |
+// ExecuteSwReporterIfRequired will only register/execute the SwReporter if it |
+// has been too long since it last ran or if a preference is set in |prefs|, |
+// identifying that an attempt to register/execute the SwReporter has already |
+// been made and not completed. This must be called |
// from the UI thread. |
-void ExecutePendingSwReporter(ComponentUpdateService* cus, PrefService* prefs); |
+void ExecuteSwReporterIfRequired(ComponentUpdateService* cus, |
+ PrefService* prefs); |
// Register user preferences related to the SwReporter. |
void RegisterPrefsForSwReporter(PrefRegistrySimple* registry); |