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

Unified Diff: chrome/browser/ui/prefs/prefs_tab_helper.cc

Issue 1332283003: Remove dependency of PrefSyncableService on PrefsTabHelper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_service_syncable_util
Patch Set: Pass a list of preferences instead of a callback Created 5 years, 3 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/ui/prefs/prefs_tab_helper.cc
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.cc b/chrome/browser/ui/prefs/prefs_tab_helper.cc
index 1cf523f25215bf1186ca841c2e90283fe5708c9c..5cb2d6e067ac12b6808f94468a13a7d948ee9be2 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.cc
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.cc
@@ -491,19 +491,6 @@ PrefsTabHelper::~PrefsTabHelper() {
}
// static
-void PrefsTabHelper::InitIncognitoUserPrefStore(
- OverlayUserPrefStore* pref_store) {
- // List of keys that cannot be changed in the user prefs file by the incognito
- // profile. All preferences that store information about the browsing history
- // or behavior of the user should have this property.
- pref_store->RegisterOverlayPref(prefs::kBrowserWindowPlacement);
- pref_store->RegisterOverlayPref(prefs::kSaveFileDefaultDirectory);
-#if defined(OS_ANDROID) || defined(OS_IOS)
- pref_store->RegisterOverlayPref(proxy_config::prefs::kProxy);
-#endif // defined(OS_ANDROID) || defined(OS_IOS)
-}
-
-// static
void PrefsTabHelper::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
WebPreferences pref_defaults;

Powered by Google App Engine
This is Rietveld 408576698