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
10class PrefService;
11
12// Does initializiation for the ShowAppLauncherPromo field trial.
13void SetupShowAppLauncherPromoFieldTrial(PrefService* local_state);
14
15// Returns whether the app launcher has been enabled.
16bool IsAppLauncherEnabled();
17
18// Returns whether the app launcher promo should be shown.
19bool ShouldShowAppLauncherPromo();
20
21#endif  // CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_
22