OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PREFS_
H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PREFS_
H_ |
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PREFS_
H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PREFS_
H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 | 9 |
10 namespace user_prefs { | 10 namespace user_prefs { |
11 class PrefRegistrySyncable; | 11 class PrefRegistrySyncable; |
12 } | 12 } |
13 | 13 |
14 class PrefRegistrySimple; | 14 class PrefRegistrySimple; |
15 class PrefService; | |
16 | 15 |
17 namespace data_reduction_proxy { | 16 namespace data_reduction_proxy { |
18 | 17 |
19 // Registers the data reduction proxy's profile prefs on platforms that use | 18 // Registers the data reduction proxy's profile prefs on platforms that use |
20 // syncable prefs. | 19 // syncable prefs. |
21 void RegisterSyncableProfilePrefs( | 20 void RegisterSyncableProfilePrefs( |
22 user_prefs::PrefRegistrySyncable* registry); | 21 user_prefs::PrefRegistrySyncable* registry); |
23 | 22 |
24 // Registers the data reduction proxy's profile prefs on platforms that do not | 23 // Registers the data reduction proxy's profile prefs on platforms that do not |
25 // use syncable prefs. | 24 // use syncable prefs. |
26 void RegisterSimpleProfilePrefs(PrefRegistrySimple* registry); | 25 void RegisterSimpleProfilePrefs(PrefRegistrySimple* registry); |
27 | 26 |
28 // Registers local state, i.e., profile-agnostic prefs for the data | 27 // Registers local state, i.e., profile-agnostic prefs for the data |
29 // reduction proxy. | 28 // reduction proxy. |
30 void RegisterPrefs(PrefRegistrySimple* registry); | 29 void RegisterPrefs(PrefRegistrySimple* registry); |
31 | 30 |
32 } // namespace data_reduction_proxy | 31 } // namespace data_reduction_proxy |
33 | 32 |
34 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PRE
FS_H_ | 33 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PRE
FS_H_ |
OLD | NEW |