| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // SwReporter. | 86 // SwReporter. |
| 87 void RegisterSwReporterComponent(ComponentUpdateService* cus); | 87 void RegisterSwReporterComponent(ComponentUpdateService* cus); |
| 88 | 88 |
| 89 // Register local state preferences related to the SwReporter. | 89 // Register local state preferences related to the SwReporter. |
| 90 void RegisterPrefsForSwReporter(PrefRegistrySimple* registry); | 90 void RegisterPrefsForSwReporter(PrefRegistrySimple* registry); |
| 91 | 91 |
| 92 // Register profile preferences related to the SwReporter. | 92 // Register profile preferences related to the SwReporter. |
| 93 void RegisterProfilePrefsForSwReporter( | 93 void RegisterProfilePrefsForSwReporter( |
| 94 user_prefs::PrefRegistrySyncable* registry); | 94 user_prefs::PrefRegistrySyncable* registry); |
| 95 | 95 |
| 96 // Called by chrome://cleanup/ to manually trigger a reporter run. | |
| 97 // TODO(proberge): Replace the Closure with a typed callback. | |
| 98 void RegisterUserInitiatedSwReporterScan(base::Closure callback); | |
| 99 | |
| 100 } // namespace component_updater | 96 } // namespace component_updater |
| 101 | 97 |
| 102 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_ | 98 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_ |
| OLD | NEW |