Index: ui/app_list/test/app_list_test_model.h |
diff --git a/ui/app_list/test/app_list_test_model.h b/ui/app_list/test/app_list_test_model.h |
index b918bcf6180d3b1782e4b28f2a7e2e2ab745ba3e..decd907140303bc8dcf7fc928d106fa7c5154137 100644 |
--- a/ui/app_list/test/app_list_test_model.h |
+++ b/ui/app_list/test/app_list_test_model.h |
@@ -29,7 +29,14 @@ class AppListTestModel : public AppListModel { |
// Get a string of all apps in |model| joined with ','. |
std::string GetModelContent(); |
- AppListItemModel* CreateItem(const std::string& title); |
+ AppListItemModel* CreateItem(const std::string& title, |
+ const std::string& full_name); |
+ |
+ // Add an item with arbitrary |title| and |full_name| to the model. |
+ void AddItem(const std::string& title, const std::string& full_name); |
+ |
+ // Add an item with arbitrary |title| to the model. This is a convenience |
+ // version which will use the title for the full_name. |
void AddItem(const std::string& title); |
// Call SetHighlighted on the specified item. |