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

Unified Diff: ash/launcher/launcher_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, 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/launcher/launcher_model_util.h ('k') | ash/shelf/shelf_model_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_model_util.cc
diff --git a/ash/launcher/launcher_model_util.cc b/ash/launcher/launcher_model_util.cc
deleted file mode 100644
index b1d63a4571adaf9105fa6df716fa20c122f9c532..0000000000000000000000000000000000000000
--- a/ash/launcher/launcher_model_util.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// 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/launcher/launcher_model.h"
-
-namespace ash {
-
-int GetLauncherItemIndexForType(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;
- }
- return -1;
-}
-
-} // namespace ash
« no previous file with comments | « ash/launcher/launcher_model_util.h ('k') | ash/shelf/shelf_model_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698