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

Unified Diff: ash/shelf/shelf_model_util.cc

Issue 53513003: ash: Rename GetLauncherItemIndexForType to GetShelfItemIndexForType(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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
« no previous file with comments | « ash/shelf/shelf_model_util.h ('k') | ash/shell.cc » ('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/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;
« no previous file with comments | « ash/shelf/shelf_model_util.h ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698