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

Unified Diff: chromeos/ime/component_extension_ime_manager_unittest.cc

Issue 419293002: IME refactoring: ChromeOS introduce input methods State. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit test fixed. Re-sorted methods of StateImpl and IMM. Created 6 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 | « chromeos/ime/component_extension_ime_manager.cc ('k') | chromeos/ime/input_method_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/component_extension_ime_manager_unittest.cc
diff --git a/chromeos/ime/component_extension_ime_manager_unittest.cc b/chromeos/ime/component_extension_ime_manager_unittest.cc
index 4da6fa32d8d531f3a0363df075129e2e4392b365..9e8bdb3c19875d50f761af957f79c22813c1d6fd 100644
--- a/chromeos/ime/component_extension_ime_manager_unittest.cc
+++ b/chromeos/ime/component_extension_ime_manager_unittest.cc
@@ -136,7 +136,8 @@ TEST_F(ComponentExtensionIMEManagerTest, LoadComponentExtensionIMETest) {
extension_ime_util::GetComponentInputMethodID(
ime_list_[i].id,
ime_list_[i].engines[j].engine_id);
- component_ext_mgr_->LoadComponentExtensionIME(input_method_id);
+ component_ext_mgr_->LoadComponentExtensionIME(NULL /* profile */,
+ input_method_id);
EXPECT_EQ(ime_list_[i].id, mock_delegate_->last_loaded_extension_id());
}
}
@@ -150,7 +151,8 @@ TEST_F(ComponentExtensionIMEManagerTest, UnloadComponentExtensionIMETest) {
extension_ime_util::GetComponentInputMethodID(
ime_list_[i].id,
ime_list_[i].engines[j].engine_id);
- component_ext_mgr_->UnloadComponentExtensionIME(input_method_id);
+ component_ext_mgr_->UnloadComponentExtensionIME(NULL /* profile */,
+ input_method_id);
EXPECT_EQ(ime_list_[i].id, mock_delegate_->last_unloaded_extension_id());
}
}
« no previous file with comments | « chromeos/ime/component_extension_ime_manager.cc ('k') | chromeos/ime/input_method_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698