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

Unified Diff: components/sync_preferences/pref_service_syncable_factory.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
Index: components/sync_preferences/pref_service_syncable_factory.h
diff --git a/components/sync_preferences/pref_service_syncable_factory.h b/components/sync_preferences/pref_service_syncable_factory.h
index 3b9bb3944211379f9e27b7b6a78217c7eddbd795..cceb0252e36304ff3496d6a7057a52e5f14df745 100644
--- a/components/sync_preferences/pref_service_syncable_factory.h
+++ b/components/sync_preferences/pref_service_syncable_factory.h
@@ -6,9 +6,11 @@
#define COMPONENTS_SYNC_PREFERENCES_PREF_SERVICE_SYNCABLE_FACTORY_H_
#include <memory>
+#include <set>
#include "base/macros.h"
#include "components/prefs/pref_service_factory.h"
+#include "components/prefs/pref_value_store.h"
namespace policy {
class BrowserPolicyConnector;
@@ -52,6 +54,14 @@ class PrefServiceSyncableFactory : public PrefServiceFactory {
user_prefs::PrefRegistrySyncable* registry,
service_manager::Connector* connector = nullptr);
+ std::unique_ptr<PrefServiceSyncable> CreateIncognitoSyncable(
+ user_prefs::PrefRegistrySyncable* pref_registry,
+ PrefStore* incognito_extension_pref_store,
+ const std::vector<const char*>& overlay_pref_names,
+ std::set<PrefValueStore::PrefStoreType> already_connected_types,
+ service_manager::Connector* incognito_connector,
+ service_manager::Connector* user_connector);
+
private:
PrefModelAssociatorClient* pref_model_associator_client_;
« no previous file with comments | « components/sync_preferences/pref_service_syncable.cc ('k') | components/sync_preferences/pref_service_syncable_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698