- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / app_list / app_list_util.h
1 // Copyright 2013 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.
4
5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_
7
8 #include "base/callback_forward.h"
9
10 class PrefService;
11
12 // Does initializiation for the ShowAppLauncherPromo field trial.
13 void SetupShowAppLauncherPromoFieldTrial(PrefService* local_state);
14
15 // Returns whether the app launcher has been enabled.
16 bool IsAppLauncherEnabled();
17
18 // Returns whether the app launcher promo should be shown.
19 bool ShouldShowAppLauncherPromo();
20
21 #endif  // CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_