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

Unified Diff: ash/shelf/shelf_model_util.cc

Issue 71653003: ash: Rename LauncherModel to ShelfModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome changes Created 7 years, 1 month 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 | « ash/shelf/shelf_model_util.h ('k') | ash/shelf/shelf_navigator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_model_util.cc
diff --git a/ash/shelf/shelf_model_util.cc b/ash/shelf/shelf_model_util.cc
index c4debdcc1b6a5d1f283cc847ef7287e218fb869b..e1fe8277af3214cedfe091cb4e054b19a9e3f6f2 100644
--- a/ash/shelf/shelf_model_util.cc
+++ b/ash/shelf/shelf_model_util.cc
@@ -4,14 +4,14 @@
#include "ash/shelf/shelf_model_util.h"
-#include "ash/launcher/launcher_model.h"
+#include "ash/shelf/shelf_model.h"
namespace ash {
int GetShelfItemIndexForType(LauncherItemType type,
- const LauncherModel& launcher_model) {
- for (size_t i = 0; i < launcher_model.items().size(); i++) {
- if (launcher_model.items()[i].type == type)
+ const ShelfModel& shelf_model) {
+ for (size_t i = 0; i < shelf_model.items().size(); i++) {
+ if (shelf_model.items()[i].type == type)
return i;
}
return -1;
« no previous file with comments | « ash/shelf/shelf_model_util.h ('k') | ash/shelf/shelf_navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698