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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.h

Issue 1055863002: ChromeOS: switch UI language before apps are loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | chrome/browser/profiles/profile_impl.h » ('j') | chrome/browser/profiles/profile_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9874aef1e3c113ca2194abb27bb3bff78919c045..d34aa4be2fe30fab1a72467b9a5df9bcab5c3b7e 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.
@@ -344,10 +348,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,
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl.h » ('j') | chrome/browser/profiles/profile_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698