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

Unified Diff: components/prefs/pref_value_store.h

Issue 2860683002: WIP: Pref service: use the incognito support from Chrome
Patch Set: Rebase 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/profiles/profile_impl.cc ('k') | components/prefs/pref_value_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/pref_value_store.h
diff --git a/components/prefs/pref_value_store.h b/components/prefs/pref_value_store.h
index 79767d3ad09af50d1f0f4262e039b35fe6e2ae0e..ee407ca2e04b1046c7ee3193de0fdef2e64c354e 100644
--- a/components/prefs/pref_value_store.h
+++ b/components/prefs/pref_value_store.h
@@ -80,7 +80,9 @@ class COMPONENTS_PREFS_EXPORT PrefValueStore {
PrefStore* user_prefs,
PrefStore* recommended_prefs,
PrefStore* default_prefs,
- PrefNotifier* pref_notifier);
+ PrefNotifier* pref_notifier,
+ PrefStore* incognito_prefs = nullptr);
+ // TODO(tibell): Add incognito store as an option.
virtual ~PrefValueStore();
// Creates a clone of this PrefValueStore with PrefStores overwritten
@@ -92,7 +94,8 @@ class COMPONENTS_PREFS_EXPORT PrefValueStore {
PrefStore* user_prefs,
PrefStore* recommended_prefs,
PrefStore* default_prefs,
- PrefNotifier* pref_notifier);
+ PrefNotifier* pref_notifier,
+ PrefStore* incognito_prefs = nullptr);
// A PrefValueStore can have exactly one callback that is directly
// notified of preferences changing in the store. This does not
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | components/prefs/pref_value_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698