| // 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. |
| |
| #ifndef CHROME_BROWSER_APPS_APP_LAUNCHER_UTIL_H_ |
| #define CHROME_BROWSER_APPS_APP_LAUNCHER_UTIL_H_ |
| |
| #include "base/callback_forward.h" |
| |
| class PrefService; |
| |
| // Does initializiation for the ShowAppLauncherPromo field trial. |
| void SetupShowAppLauncherPromoFieldTrial(PrefService* local_state); |
| |
| // Returns whether the app launcher has been enabled. |
| bool IsAppLauncherEnabled(); |
| |
| // Returns whether the app launcher promo should be shown. |
| bool ShouldShowAppLauncherPromo(); |
| |
| #endif // CHROME_BROWSER_APPS_APP_LAUNCHER_UTIL_H_ |