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

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: Remove empty line. Created 5 years, 7 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
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,
« no previous file with comments | « chrome/browser/chromeos/login/screens/network_screen.cc ('k') | chrome/browser/chromeos/login/session/user_session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698