| 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 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 // Migrate/cleanup deprecated prefs in |profile|'s pref store. Over time, long | 44 // Migrate/cleanup deprecated prefs in |profile|'s pref store. Over time, long |
| 45 // deprecated prefs should be removed as new ones are added, but this call | 45 // deprecated prefs should be removed as new ones are added, but this call |
| 46 // should never go away (even if it becomes an empty call for some time) as it | 46 // should never go away (even if it becomes an empty call for some time) as it |
| 47 // should remain *the* place to drop deprecated profile prefs at. | 47 // should remain *the* place to drop deprecated profile prefs at. |
| 48 void MigrateObsoleteProfilePrefs(Profile* profile); | 48 void MigrateObsoleteProfilePrefs(Profile* profile); |
| 49 | 49 |
| 50 // The pref stores Chrome expects to exist. | 50 // The pref stores Chrome expects to exist. |
| 51 std::set<PrefValueStore::PrefStoreType> ExpectedPrefStores(); | 51 std::set<PrefValueStore::PrefStoreType> ExpectedPrefStores(); |
| 52 | 52 |
| 53 // The pref stores Chrome expects to exist for incognito. |
| 54 std::set<PrefValueStore::PrefStoreType> ExpectedIncognitoPrefStores(); |
| 55 |
| 53 // The pref stores Chrome creates in-process (and thus doesn't need to connect | 56 // The pref stores Chrome creates in-process (and thus doesn't need to connect |
| 54 // to through the pref service). | 57 // to through the pref service). |
| 55 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores(); | 58 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores(); |
| 56 | 59 |
| 60 std::set<PrefValueStore::PrefStoreType> InProcessIncognitoPrefStores(); |
| 61 |
| 57 } // namespace chrome | 62 } // namespace chrome |
| 58 | 63 |
| 59 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ | 64 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ |
| OLD | NEW |