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

Unified Diff: ash/test/test_system_tray_delegate.cc

Issue 2277753006: Revert "Revert of Updates the IME list when the IME has refreshed. (patchset #7 id:120001 of https:… (Closed)
Patch Set: Add new test to cover the crash. Created 4 years, 4 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 | « ash/test/test_system_tray_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_system_tray_delegate.cc
diff --git a/ash/test/test_system_tray_delegate.cc b/ash/test/test_system_tray_delegate.cc
index f620a4b572c8598fbe659e79f4a32b8fa7253015..1ffe01a306d86b80bcf4665b0c0cb2b25db64440 100644
--- a/ash/test/test_system_tray_delegate.cc
+++ b/ash/test/test_system_tray_delegate.cc
@@ -67,6 +67,10 @@ void TestSystemTrayDelegate::SetCurrentIME(const IMEInfo& info) {
current_ime_ = info;
}
+void TestSystemTrayDelegate::SetAvailableIMEList(const IMEInfoList& list) {
+ ime_list_ = list;
+}
+
LoginStatus TestSystemTrayDelegate::GetUserLoginStatus() const {
// Initial login status has been changed for testing.
if (g_initial_status != LoginStatus::USER &&
@@ -142,5 +146,9 @@ void TestSystemTrayDelegate::GetCurrentIME(IMEInfo* info) {
*info = current_ime_;
}
+void TestSystemTrayDelegate::GetAvailableIMEList(IMEInfoList* list) {
+ *list = ime_list_;
+}
+
} // namespace test
} // namespace ash
« no previous file with comments | « ash/test/test_system_tray_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698