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

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

Issue 6677049: Comb up ownership things. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: c Created 9 years, 9 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
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.cc ('k') | content/common/notification_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index d973c1f8db8bf43e50a1a919a67292c737313f1f..bd00c807748bb5e4b43c762e770d6a9a06d271b3 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -1495,9 +1495,10 @@ void ProfileImpl::ChangeAppLocale(
}
if (do_update_pref)
GetPrefs()->SetString(prefs::kApplicationLocale, new_locale);
+ local_state->SetString(prefs::kApplicationLocale, new_locale);
+
if (chromeos::UserManager::Get()->current_user_is_owner())
local_state->SetString(prefs::kOwnerLocale, new_locale);
- local_state->SetString(prefs::kApplicationLocale, new_locale);
GetPrefs()->ScheduleSavePersistentPrefs();
local_state->ScheduleSavePersistentPrefs();
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.cc ('k') | content/common/notification_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698