OLD | NEW |
---|---|
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 Loading... | |
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_ |
OLD | NEW |