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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // SwReporter. 84 // SwReporter.
85 void RegisterSwReporterComponent(ComponentUpdateService* cus); 85 void RegisterSwReporterComponent(ComponentUpdateService* cus);
86 86
87 // Register local state preferences related to the SwReporter. 87 // Register local state preferences related to the SwReporter.
88 void RegisterPrefsForSwReporter(PrefRegistrySimple* registry); 88 void RegisterPrefsForSwReporter(PrefRegistrySimple* registry);
89 89
90 // Register profile preferences related to the SwReporter. 90 // Register profile preferences related to the SwReporter.
91 void RegisterProfilePrefsForSwReporter( 91 void RegisterProfilePrefsForSwReporter(
92 user_prefs::PrefRegistrySyncable* registry); 92 user_prefs::PrefRegistrySyncable* registry);
93 93
94 // Called by chrome://cleanup/ to manually trigger a reporter run.
95 // 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
96 void RegisterUserInitiatedSwReporterScan(base::Closure callback);
97
94 } // namespace component_updater 98 } // namespace component_updater
95 99
96 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_ 100 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698