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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 6248017: Do not use local override for language settings: always sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 11 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/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 488ca6e72485b4bdd41b538143e1373ba3ac72f8..7d3a5bf9e129324bd638265137799b54f0c4662b 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -112,7 +112,6 @@ void Profile::RegisterUserPrefs(PrefService* prefs) {
// in user's profile for other platforms as well.
prefs->RegisterStringPref(prefs::kApplicationLocale, "");
prefs->RegisterStringPref(prefs::kApplicationLocaleBackup, "");
- prefs->RegisterStringPref(prefs::kApplicationLocaleOverride, "");
prefs->RegisterStringPref(prefs::kApplicationLocaleAccepted, "");
#endif
}
@@ -606,8 +605,7 @@ class OffTheRecordProfileImpl : public Profile,
}
#if defined(OS_CHROMEOS)
- virtual void ChangeApplicationLocale(
- const std::string& locale, bool keep_local) {
+ virtual void ChangeApplicationLocale(const std::string& locale) {
}
#endif // defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698