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

Unified Diff: chrome/browser/profiles/profile.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/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 8c0106d22c58cb961a929607898d06aa722c1af5..06f02213d38dcce4ab6b75e9ba49556336ce8f77 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -41,6 +41,10 @@ namespace net {
class SSLConfigService;
}
+namespace sync_preferences {
+class PrefServiceSyncable;
+}
+
namespace user_prefs {
class PrefRegistrySyncable;
}
@@ -186,6 +190,9 @@ class Profile : public content::BrowserContext {
// time that this method is called.
virtual PrefService* GetOffTheRecordPrefs() = 0;
+ virtual sync_preferences::PrefServiceSyncable* CreateOffTheRecordPrefs(
+ service_manager::Connector* otr_connector);
+
// Returns the main request context.
virtual net::URLRequestContextGetter* GetRequestContext() = 0;
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698