summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 626e602..0bb8892 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