| 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..8560a65c8626586887ba878e1cbc1c7c416431f3 100644
|
| --- a/ui/app_list/test/app_list_test_model.cc
|
| +++ b/ui/app_list/test/app_list_test_model.cc
|
| @@ -33,14 +33,21 @@ 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->SetFullName(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) {
|
|
|