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

Unified Diff: chrome/browser/profiles/profile_impl.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.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index f948a4d9978678937fb78ceb5058e916a9e53fdb..1fc26917c163bb1212d0a9f1d6ef1f20d3cc3611 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -37,6 +37,10 @@ class SupervisedUserTestBase;
}
#endif
+namespace sync_preferences {
+class PrefServiceSyncableFactory;
+}
+
namespace base {
class SequencedTaskRunner;
}
@@ -121,6 +125,8 @@ class ProfileImpl : public Profile {
const PrefService* GetPrefs() const override;
ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
PrefService* GetOffTheRecordPrefs() override;
+ sync_preferences::PrefServiceSyncable* CreateOffTheRecordPrefs(
+ service_manager::Connector* otr_connector) override;
net::URLRequestContextGetter* GetRequestContext() override;
net::URLRequestContextGetter* GetRequestContextForExtensions() override;
net::SSLConfigService* GetSSLConfigService() override;
@@ -278,6 +284,8 @@ class ProfileImpl : public Profile {
chrome_browser_net::Predictor* predictor_;
+ std::unique_ptr<sync_preferences::PrefServiceSyncableFactory> prefs_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
};
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698