| 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..a7db43af5212f3a2eb1a7548c7a06048e6e167bc 100644
|
| --- a/chrome/browser/component_updater/sw_reporter_installer_win.h
|
| +++ b/chrome/browser/component_updater/sw_reporter_installer_win.h
|
| @@ -12,21 +12,10 @@ namespace component_updater {
|
|
|
| class ComponentUpdateService;
|
|
|
| -// Execute the SwReporter if one is available, otherwise 1) register with the
|
| -// component updater, 2) save a preference in |prefs| identifying that an
|
| -// attempt to execute the reporter tool was made, so that calls to
|
| -// ExecutePending below will be able to continue the work if it doesn't complete
|
| -// before the Chrome session ends. It will also allow the component updater to
|
| -// know if there is a pending execution or not when an update happens. This must
|
| -// 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
|
| -// from the UI thread.
|
| -void ExecutePendingSwReporter(ComponentUpdateService* cus, PrefService* prefs);
|
| +// Call once during startup to make the component update service aware of the
|
| +// SwReporter.
|
| +void RegisterSwReporterComponent(ComponentUpdateService* cus,
|
| + PrefService* prefs);
|
|
|
| // Register user preferences related to the SwReporter.
|
| void RegisterPrefsForSwReporter(PrefRegistrySimple* registry);
|
|
|