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_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_ |
6 #define COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_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; | |
15 | 16 |
16 namespace data_reduction_proxy { | 17 namespace data_reduction_proxy { |
17 | 18 |
18 // Registers the data reduction proxy's profile prefs on platforms that use | 19 // Registers the data reduction proxy's profile prefs on platforms that use |
19 // syncable prefs. | 20 // syncable prefs. |
20 void RegisterSyncableProfilePrefs( | 21 void RegisterSyncableProfilePrefs( |
21 user_prefs::PrefRegistrySyncable* registry); | 22 user_prefs::PrefRegistrySyncable* registry); |
22 | 23 |
23 // Registers the data reduction proxy's profile prefs on platforms that do not | 24 // Registers the data reduction proxy's profile prefs on platforms that do not |
24 // use syncable prefs. | 25 // use syncable prefs. |
25 void RegisterSimpleProfilePrefs(PrefRegistrySimple* registry); | 26 void RegisterSimpleProfilePrefs(PrefRegistrySimple* registry); |
26 | 27 |
27 // Registers local state, i.e., profile-agnostic prefs for the data | 28 // Registers local state, i.e., profile-agnostic prefs for the data |
28 // reduction proxy. | 29 // reduction proxy. |
29 void RegisterPrefs(PrefRegistrySimple* registry); | 30 void RegisterPrefs(PrefRegistrySimple* registry); |
30 | 31 |
32 // Migrates the prefs that are used to record compression statistics from |src| | |
33 // to |dest|. | |
34 void MigrateStatisticsPrefs(PrefService* src, | |
35 PrefService* dest); | |
marq (ping after 24h)
2014/10/15 08:29:35
No need for the line break.
bengr
2014/10/15 22:52:51
Done.
| |
36 | |
31 } // namespace data_reduction_proxy | 37 } // namespace data_reduction_proxy |
32 | 38 |
33 #endif // COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_ | 39 #endif // COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_ |
OLD | NEW |