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

Unified Diff: ui/app_list/test/app_list_test_model.h

Issue 298963004: app_list: Fix possible out of bounds index. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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
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 2d2fc9568876c209f899d8e5c469081cf665e6ab..89e407b4556281be3a909fed53c9a369419323da 100644
--- a/ui/app_list/test/app_list_test_model.h
+++ b/ui/app_list/test/app_list_test_model.h
@@ -53,6 +53,9 @@ class AppListTestModel : public AppListModel {
AppListFolderItem* CreateAndAddOemFolder(const std::string& id);
+ AppListFolderItem* CreateSingleItemFolder(const std::string& folder_id,
+ const std::string& item_id);
+
// Populate the model with an item titled "Item |id|".
void PopulateAppWithId(int id);

Powered by Google App Engine
This is Rietveld 408576698