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

Unified Diff: chrome/browser/profile.cc

Issue 3579011: Chrome OS: make language per user. (Closed)
Patch Set: spellfix Created 10 years, 1 month 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/chromeos/login/login_utils.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile.cc
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 626e602812900de9d32f43d5fc0ff206d77d9c5e..0bb889233da02a95c6cbef44534f0ca8a3d4d1ca 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -96,6 +96,14 @@ void Profile::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterDictionaryPref(prefs::kCurrentThemeDisplayProperties);
prefs->RegisterBooleanPref(prefs::kDisableExtensions, false);
prefs->RegisterStringPref(prefs::kSelectFileLastDirectory, "");
+#if defined(OS_CHROMEOS)
+ // TODO(dilmah): For OS_CHROMEOS we maintain kApplicationLocale in both
+ // local state and user's profile. For other platforms we maintain
+ // kApplicationLocale only in local state.
+ // In the future we may want to maintain kApplicationLocale
+ // in user's profile for other platforms as well.
+ prefs->RegisterStringPref(prefs::kApplicationLocale, "");
+#endif
}
// static
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698