Index: chrome/browser/profiles/profile.cc |
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc |
index 6705e3b7ae1f0974faea9bb5e678ce3c131e11f0..658face4e63fec000b78586abc54cfb755e94fac 100644 |
--- a/chrome/browser/profiles/profile.cc |
+++ b/chrome/browser/profiles/profile.cc |
@@ -112,6 +112,8 @@ 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 |
} |
@@ -603,6 +605,12 @@ class OffTheRecordProfileImpl : public Profile, |
return NULL; |
} |
+#if defined(OS_CHROMEOS) |
+ virtual void ChangeApplicationLocale( |
+ const std::string& locale, bool keep_local) { |
+ } |
+#endif // defined(OS_CHROMEOS) |
+ |
virtual PrefProxyConfigTracker* GetProxyConfigTracker() { |
return profile_->GetProxyConfigTracker(); |
} |