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

Unified Diff: chrome/browser/prefs/pref_service_syncable_util.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: chrome/browser/prefs/pref_service_syncable_util.h
diff --git a/chrome/browser/prefs/pref_service_syncable_util.h b/chrome/browser/prefs/pref_service_syncable_util.h
index d4149d914d6bd02a0538b404001a686d7beadf1f..14ab5e034228adc96b7d0eaac9f7e327e9f6c3cf 100644
--- a/chrome/browser/prefs/pref_service_syncable_util.h
+++ b/chrome/browser/prefs/pref_service_syncable_util.h
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_UTIL_H_
#define CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_UTIL_H_
-class PrefStore;
class Profile;
namespace sync_preferences {
@@ -23,15 +22,5 @@ class PrefServiceSyncable;
// incognito version) from a Profile.
sync_preferences::PrefServiceSyncable* PrefServiceSyncableFromProfile(
Profile* profile);
-sync_preferences::PrefServiceSyncable* PrefServiceSyncableIncognitoFromProfile(
- Profile* profile);
-
-// Creates an incognito copy of |pref_service| that shares most prefs but uses
-// a fresh non-persistent overlay for the user pref store and an individual
-// extension pref store (to cache the effective extension prefs for incognito
-// windows).
-sync_preferences::PrefServiceSyncable* CreateIncognitoPrefServiceSyncable(
- sync_preferences::PrefServiceSyncable* pref_service,
- PrefStore* incognito_extension_pref_store);
#endif // CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_UTIL_H_
« no previous file with comments | « chrome/browser/prefs/chrome_pref_service_factory.cc ('k') | chrome/browser/prefs/pref_service_syncable_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698