| 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 PrefRegistrySimple; | 8 class PrefRegistrySimple; |
| 9 class PrefService; | 9 class PrefService; |
| 10 class Profile; | 10 class Profile; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 // away (even if it becomes an empty call for some time) as it should remain | 35 // away (even if it becomes an empty call for some time) as it should remain |
| 36 // *the* place to drop deprecated browser prefs at. | 36 // *the* place to drop deprecated browser prefs at. |
| 37 void MigrateObsoleteBrowserPrefs(Profile* profile, PrefService* local_state); | 37 void MigrateObsoleteBrowserPrefs(Profile* profile, PrefService* local_state); |
| 38 | 38 |
| 39 // Migrate/cleanup deprecated prefs in |profile|'s pref store. Over time, long | 39 // Migrate/cleanup deprecated prefs in |profile|'s pref store. Over time, long |
| 40 // deprecated prefs should be removed as new ones are added, but this call | 40 // deprecated prefs should be removed as new ones are added, but this call |
| 41 // should never go away (even if it becomes an empty call for some time) as it | 41 // should never go away (even if it becomes an empty call for some time) as it |
| 42 // should remain *the* place to drop deprecated profile prefs at. | 42 // should remain *the* place to drop deprecated profile prefs at. |
| 43 void MigrateObsoleteProfilePrefs(Profile* profile); | 43 void MigrateObsoleteProfilePrefs(Profile* profile); |
| 44 | 44 |
| 45 // Migrates zoom level prefs in |profile|'s pref store to a per-StoragePartition | |
| 46 // set of prefs. | |
| 47 void MigrateProfileZoomLevelPrefs(Profile* profile); | |
| 48 | |
| 49 } // namespace chrome | 45 } // namespace chrome |
| 50 | 46 |
| 51 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ | 47 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ |
| OLD | NEW |