Index: ash/shelf/shelf_model_util.cc |
diff --git a/ash/launcher/launcher_model_util.cc b/ash/shelf/shelf_model_util.cc |
similarity index 69% |
rename from ash/launcher/launcher_model_util.cc |
rename to ash/shelf/shelf_model_util.cc |
index b1d63a4571adaf9105fa6df716fa20c122f9c532..c4debdcc1b6a5d1f283cc847ef7287e218fb869b 100644 |
--- a/ash/launcher/launcher_model_util.cc |
+++ b/ash/shelf/shelf_model_util.cc |
@@ -2,14 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "ash/launcher/launcher_model_util.h" |
+#include "ash/shelf/shelf_model_util.h" |
#include "ash/launcher/launcher_model.h" |
namespace ash { |
-int GetLauncherItemIndexForType(LauncherItemType type, |
- const LauncherModel& launcher_model) { |
+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) |
return i; |