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

Unified Diff: chrome/browser/chromeos/login/login_utils.cc

Issue 641123002: Cleanup LoginUtils. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: return flags method Created 6 years, 2 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/login_utils.h ('k') | chrome/browser/chromeos/login/test_login_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_utils.cc
diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc
index 4c4500c886ed0f836e0fdd3cfa87aa2d0c89fe44..250b58a5746234b75d58357145c7abeab0a86704 100644
--- a/chrome/browser/chromeos/login/login_utils.cc
+++ b/chrome/browser/chromeos/login/login_utils.cc
@@ -184,8 +184,6 @@ class LoginUtilsImpl : public LoginUtils,
}
// LoginUtils implementation:
- virtual void RespectLocalePreference(Profile* profile,
- const base::Closure& callback) override;
virtual void DoBrowserLaunch(Profile* profile,
LoginDisplayHost* login_host) override;
virtual void PrepareProfile(
@@ -211,6 +209,10 @@ class LoginUtilsImpl : public LoginUtils,
LoginDisplayHost* login_host,
bool locale_pref_checked);
+ // Switch to the locale that |profile| wishes to use and invoke |callback|.
+ virtual void RespectLocalePreference(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/login_utils.h ('k') | chrome/browser/chromeos/login/test_login_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698