Index: chrome/browser/component_updater/sw_reporter_installer_win.cc |
diff --git a/chrome/browser/component_updater/sw_reporter_installer_win.cc b/chrome/browser/component_updater/sw_reporter_installer_win.cc |
index bca424f8beed4efd637d5a9231183f63b5681327..82287ee1a28c779ff176746aa80999ba7d05f0ad 100644 |
--- a/chrome/browser/component_updater/sw_reporter_installer_win.cc |
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.cc |
@@ -501,4 +501,13 @@ void RegisterProfilePrefsForSwReporter( |
registry->RegisterStringPref(prefs::kSwReporterPromptSeed, ""); |
} |
+void RegisterUserInitiatedSwReporterScan(base::Closure callback) { |
+ // Fetch the latest version of the Cleanup component and run it, |
+ // bypassing the usual scheduling logic. Once the scan is done, report |
+ // whether the scan was successful and the names of the Unwanted Software that |
+ // can be removed by the Cleanup tool. |
+ // TODO(proberge): Implement me. |
+ callback.Run(); |
+} |
+ |
} // namespace component_updater |