Index: ui/app_list/test/app_list_test_model.cc |
diff --git a/ui/app_list/test/app_list_test_model.cc b/ui/app_list/test/app_list_test_model.cc |
index c320a0ca6176ecbbe5698125822a6f856104b758..394514ef12cd94dba6e90da37c2bd6d04ea6d3bd 100644 |
--- a/ui/app_list/test/app_list_test_model.cc |
+++ b/ui/app_list/test/app_list_test_model.cc |
@@ -33,14 +33,20 @@ std::string AppListTestModel::GetModelContent() { |
return content; |
} |
-AppListItemModel* AppListTestModel::CreateItem(const std::string& title) { |
+AppListItemModel* AppListTestModel::CreateItem(const std::string& title, |
+ const std::string& full_name) { |
AppListItemModel* item = new AppListItemModel; |
- item->SetTitle(title); |
+ item->SetTitleAndFullName(title, full_name); |
return item; |
} |
void AppListTestModel::AddItem(const std::string& title) { |
- apps()->Add(CreateItem(title)); |
+ apps()->Add(CreateItem(title, title)); |
+} |
+ |
+void AppListTestModel::AddItem(const std::string& title, |
+ const std::string& full_name) { |
+ apps()->Add(CreateItem(title, full_name)); |
} |
void AppListTestModel::HighlightItemAt(int index) { |