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 class PrefRegistrySimple; | 8 class PrefRegistrySimple; |
9 class PrefService; | 9 class PrefService; |
10 | 10 |
| 11 namespace user_prefs { |
| 12 class PrefRegistrySyncable; |
| 13 } |
| 14 |
11 namespace component_updater { | 15 namespace component_updater { |
12 | 16 |
13 class ComponentUpdateService; | 17 class ComponentUpdateService; |
14 | 18 |
15 // Call once during startup to make the component update service aware of the | 19 // Call once during startup to make the component update service aware of the |
16 // SwReporter. | 20 // SwReporter. |
17 void RegisterSwReporterComponent(ComponentUpdateService* cus, | 21 void RegisterSwReporterComponent(ComponentUpdateService* cus, |
18 PrefService* prefs); | 22 PrefService* prefs); |
19 | 23 |
20 // Register user preferences related to the SwReporter. | 24 // Register local state preferences related to the SwReporter. |
21 void RegisterPrefsForSwReporter(PrefRegistrySimple* registry); | 25 void RegisterPrefsForSwReporter(PrefRegistrySimple* registry); |
22 | 26 |
| 27 // Register profile preferences related to the SwReporter. |
| 28 void RegisterProfilePrefsForSwReporter( |
| 29 user_prefs::PrefRegistrySyncable* registry); |
| 30 |
23 } // namespace component_updater | 31 } // namespace component_updater |
24 | 32 |
25 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_ | 33 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SW_REPORTER_INSTALLER_WIN_H_ |
OLD | NEW |