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

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: Add WeakPtrFactory 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
« no previous file with comments | « no previous file | chrome/browser/component_updater/sw_reporter_installer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..79064eb196b5c7ab7c27012d2158973d913255d9 100644
--- a/chrome/browser/component_updater/sw_reporter_installer_win.h
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.h
@@ -31,6 +31,8 @@ namespace component_updater {
class ComponentUpdateService;
+constexpr char kSwReporterComponentId[] = "gkmgaooipdjhmangpemjhigmamcehddo";
+
// These MUST match the values for SwReporterExperimentError in histograms.xml.
// Exposed for testing.
enum SwReporterExperimentError {
@@ -91,6 +93,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.
+void RegisterUserInitiatedSwReporterScan(base::Closure callback);
+
} // namespace component_updater
#endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_
« no previous file with comments | « no previous file | chrome/browser/component_updater/sw_reporter_installer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698