Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Unified Diff: chrome/browser/component_updater/sw_reporter_installer_win.h

Issue 2822433003: Cleanup Tool WebUI: Add functionality to the Scan button (Closed)
Patch Set: Remove component updating logic from cleanup_action_handler Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 aab0298d2180b64a662a4b572e30fe94150faa79..e403581e8a9ae316f5661e5b01fb1798e0be5506 100644
--- a/chrome/browser/component_updater/sw_reporter_installer_win.h
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.h
@@ -91,6 +91,10 @@ void RegisterPrefsForSwReporter(PrefRegistrySimple* registry);
void RegisterProfilePrefsForSwReporter(
user_prefs::PrefRegistrySyncable* registry);
+// Called by chrome://cleanup/ to manually trigger a reporter run.
+// TODO(proberge): Replace the Closure with a typed callback.
ftirelo 2017/04/13 17:10:43 What is the intended type for this callback? Would
proberge 2017/04/13 18:53:02 With the current design we won't be needing all th
+void RegisterUserInitiatedSwReporterScan(base::Closure callback);
+
} // namespace component_updater
#endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698