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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 4 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/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 31a892c3977c3afa483701c01f2b8cb88cace806..8a6850f10ccf4d2c9c5a975fab9ec4b3f3a47a01 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -739,6 +739,10 @@ void MigrateObsoleteProfilePrefs(Profile* profile) {
DeleteWebRTCIdentityStoreDB(profile);
profile_prefs->ClearPref(kNetworkPredictionEnabled);
profile_prefs->ClearPref(kDisableSpdy);
+
+ // Added 8/2016
msw 2016/08/23 23:10:55 nit: trailing period.
Jinsuk Kim 2016/08/24 08:23:42 Done.
+ profile_prefs->ClearPref(prefs::kStaticEncodings);
msw 2016/08/23 23:10:55 I think you still need to actually register these
Jinsuk Kim 2016/08/24 08:23:42 Registered them in |RegisterProfilePrefs| in this
+ profile_prefs->ClearPref(prefs::kRecentlySelectedEncoding);
}
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698