Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / ash / launcher / launcher_util.h
blob89551f064abdc76900d65593cdd9864112e7eea0
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_LAUNCHER_LAUNCHER_UTIL_H_
6 #define ASH_LAUNCHER_LAUNCHER_UTIL_H_
8 #include "ash/ash_export.h"
10 namespace ash {
11 class LauncherModel;
13 namespace launcher {
15 // Return the index of the browser item from a given |launcher_model|.
16 ASH_EXPORT int GetBrowserItemIndex(const LauncherModel& launcher_model);
18 } // namespace launcher
19 } // namespace ash
21 #endif // ASH_LAUNCHER_LAUNCHER_UTIL_H_