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

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

Issue 2723083003: Rename LRU Input Method to Last Input Method (Closed)
Patch Set: Rebase. Created 3 years, 10 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/login_ui_keyboard_browsertest.cc
diff --git a/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc b/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
index 3e5b8d1b6df38f41b8e5e142e6c46c6ef3c673ac..2fc7f6605bc6363b47c86a8082a37f874c3d445d 100644
--- a/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
+++ b/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
@@ -103,12 +103,12 @@ class LoginUIKeyboardTest : public chromeos::LoginManagerTest {
// Should be called from PRE_ test so that local_state is saved to disk, and
// reloaded in the main test.
- void InitUserLRUInputMethod() {
+ void InitUserLastInputMethod() {
PrefService* local_state = g_browser_process->local_state();
- input_method::SetUserLRUInputMethodPreferenceForTesting(
+ input_method::SetUserLastInputMethodPreferenceForTesting(
kTestUser1, user_input_methods[0], local_state);
- input_method::SetUserLRUInputMethodPreferenceForTesting(
+ input_method::SetUserLastInputMethodPreferenceForTesting(
kTestUser2, user_input_methods[1], local_state);
}
@@ -141,7 +141,7 @@ IN_PROC_BROWSER_TEST_F(LoginUIKeyboardTest, PRE_CheckPODScreenWithUsers) {
RegisterUser(kTestUser1);
RegisterUser(kTestUser2);
- InitUserLRUInputMethod();
+ InitUserLastInputMethod();
StartupUtils::MarkOobeCompleted();
}
@@ -204,14 +204,14 @@ class LoginUIKeyboardTestWithUsersAndOwner : public chromeos::LoginManagerTest {
// Should be called from PRE_ test so that local_state is saved to disk, and
// reloaded in the main test.
- void InitUserLRUInputMethod() {
+ void InitUserLastInputMethod() {
PrefService* local_state = g_browser_process->local_state();
- input_method::SetUserLRUInputMethodPreferenceForTesting(
+ input_method::SetUserLastInputMethodPreferenceForTesting(
kTestUser1, user_input_methods[0], local_state);
- input_method::SetUserLRUInputMethodPreferenceForTesting(
+ input_method::SetUserLastInputMethodPreferenceForTesting(
kTestUser2, user_input_methods[1], local_state);
- input_method::SetUserLRUInputMethodPreferenceForTesting(
+ input_method::SetUserLastInputMethodPreferenceForTesting(
kTestUser3, user_input_methods[2], local_state);
local_state->SetString(language_prefs::kPreferredKeyboardLayout,
@@ -243,7 +243,7 @@ IN_PROC_BROWSER_TEST_F(LoginUIKeyboardTestWithUsersAndOwner,
RegisterUser(kTestUser2);
RegisterUser(kTestUser3);
- InitUserLRUInputMethod();
+ InitUserLastInputMethod();
StartupUtils::MarkOobeCompleted();
}

Powered by Google App Engine
This is Rietveld 408576698