diff options
Diffstat (limited to 'chromium/ash/launcher/launcher_util.cc')
-rw-r--r-- | chromium/ash/launcher/launcher_util.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/chromium/ash/launcher/launcher_util.cc b/chromium/ash/launcher/launcher_util.cc deleted file mode 100644 index f7ba77f0bfc..00000000000 --- a/chromium/ash/launcher/launcher_util.cc +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) 2012 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_util.h" - -#include "ash/launcher/launcher_model.h" -#include "ash/launcher/launcher_types.h" - -namespace ash { -namespace launcher { - -int GetBrowserItemIndex(const LauncherModel& launcher_model) { - for (size_t i = 0; i < launcher_model.items().size(); i++) { - if (launcher_model.items()[i].type == ash::TYPE_BROWSER_SHORTCUT) - return i; - } - return -1; -} - -} // namespace launcher -} // namespace ash |