Index: chrome/browser/chromeos/login/session/user_session_manager.h |
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.h b/chrome/browser/chromeos/login/session/user_session_manager.h |
index c8eec25bf155e2321ce699f23ce60c935e58a008..b86b20340bcdb810d72ac14e171331ede4acc6e8 100644 |
--- a/chrome/browser/chromeos/login/session/user_session_manager.h |
+++ b/chrome/browser/chromeos/login/session/user_session_manager.h |
@@ -191,6 +191,10 @@ class UserSessionManager |
const user_manager::User* user, |
const locale_util::SwitchLanguageCallback& callback) const; |
+ // Switch to the locale that |profile| wishes to use and invoke |callback|. |
+ void RespectLocalePreferenceWrapper(Profile* profile, |
+ const base::Closure& callback); |
+ |
// Restarts Chrome if needed. This happens when user session has custom |
// flags/switches enabled. Another case when owner has setup custom flags, |
// they are applied on login screen as well but not to user session. |
@@ -351,10 +355,6 @@ class UserSessionManager |
LoginDisplayHost* login_host, |
bool locale_pref_checked); |
- // Switch to the locale that |profile| wishes to use and invoke |callback|. |
- void RespectLocalePreferenceWrapper(Profile* profile, |
- const base::Closure& callback); |
- |
static void RunCallbackOnLocaleLoaded( |
const base::Closure& callback, |
InputEventsBlocker* input_events_blocker, |