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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/browser_prefs.h
diff --git a/chrome/browser/prefs/browser_prefs.h b/chrome/browser/prefs/browser_prefs.h
index 89a5e2d74cb9cd1a1e046aec47f948b16f74e521..257638ab3424bdcc734f6d35e93697a32f9f8bf5 100644
--- a/chrome/browser/prefs/browser_prefs.h
+++ b/chrome/browser/prefs/browser_prefs.h
@@ -5,7 +5,10 @@
#ifndef CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
#define CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
+#include <set>
+
#include "build/build_config.h"
+#include "components/prefs/pref_value_store.h"
class PrefRegistrySimple;
class PrefService;
@@ -44,6 +47,13 @@ void MigrateObsoleteBrowserPrefs(Profile* profile, PrefService* local_state);
// should remain *the* place to drop deprecated profile prefs at.
void MigrateObsoleteProfilePrefs(Profile* profile);
+// The pref stores Chrome expects to exist.
+std::set<PrefValueStore::PrefStoreType> ExpectedPrefStores();
+
+// The pref stores Chrome creates in-process (and thus doesn't need to connect
+// to through the pref service).
+std::set<PrefValueStore::PrefStoreType> InProcessPrefStores();
+
} // namespace chrome
#endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
« 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