Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: chrome/browser/prefs/browser_prefs.h

Issue 2791903003: Pref service: have Mash and Chrome connect to the right pref stores (Closed)
Patch Set: ProfilePrefStoreManagerTest: explicit list stores to connect to Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
9
8 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "components/prefs/pref_value_store.h"
9 12
10 class PrefRegistrySimple; 13 class PrefRegistrySimple;
11 class PrefService; 14 class PrefService;
12 class Profile; 15 class Profile;
13 16
14 namespace user_prefs { 17 namespace user_prefs {
15 class PrefRegistrySyncable; 18 class PrefRegistrySyncable;
16 } 19 }
17 20
18 namespace chrome { 21 namespace chrome {
(...skipping 18 matching lines...) Expand all
37 // away (even if it becomes an empty call for some time) as it should remain 40 // away (even if it becomes an empty call for some time) as it should remain
38 // *the* place to drop deprecated browser prefs at. 41 // *the* place to drop deprecated browser prefs at.
39 void MigrateObsoleteBrowserPrefs(Profile* profile, PrefService* local_state); 42 void MigrateObsoleteBrowserPrefs(Profile* profile, PrefService* local_state);
40 43
41 // 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
42 // 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
43 // 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
44 // should remain *the* place to drop deprecated profile prefs at. 47 // should remain *the* place to drop deprecated profile prefs at.
45 void MigrateObsoleteProfilePrefs(Profile* profile); 48 void MigrateObsoleteProfilePrefs(Profile* profile);
46 49
50 // The pref stores Chrome expects to exist.
51 std::set<PrefValueStore::PrefStoreType> ExpectedPrefStores();
52
53 // The pref stores Chrome creates in-process (and thus doesn't need to connect
54 // to through the pref service).
55 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores();
56
47 } // namespace chrome 57 } // namespace chrome
48 58
49 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ 59 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/active_profile_pref_service.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698