OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PREFS_BROWSER_PREFS_H_ | 5 #ifndef CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ |
6 #define CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ | 6 #define CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ |
7 | 7 |
8 class PrefService; | 8 class PrefService; |
9 class Profile; | 9 class Profile; |
10 | 10 |
11 namespace chrome { | 11 namespace chrome { |
12 | 12 |
13 // Makes the PrefService objects aware of all the prefs. | 13 // Makes the PrefService objects aware of all the prefs. |
14 void RegisterLocalState(PrefService* local_state); | 14 void RegisterLocalState(PrefService* local_state); |
15 void RegisterUserPrefs(PrefService* user_prefs); | 15 void RegisterUserPrefs(PrefService* user_prefs); |
16 | 16 |
17 // Migrates prefs from |local_state| to |profile|'s pref store. | 17 // Migrates prefs from |local_state| to |profile|'s pref store. |
18 void MigrateBrowserPrefs(Profile* profile, PrefService* local_state); | 18 void MigrateBrowserPrefs(Profile* profile, PrefService* local_state); |
19 | 19 |
| 20 // Migrates prefs in |profile|'s pref store. |
| 21 void MigrateUserPrefs(Profile* profile); |
| 22 |
20 } // namespace chrome | 23 } // namespace chrome |
21 | 24 |
22 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ | 25 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ |
OLD | NEW |