| Index: chrome/browser/banners/app_banner_settings_helper.h
|
| diff --git a/chrome/browser/banners/app_banner_settings_helper.h b/chrome/browser/banners/app_banner_settings_helper.h
|
| index f1e9ab12f3261a90c85d9eec191cfd167463667a..42dfdbb198a1a39394a2b2159f6afb02fbf8a928 100644
|
| --- a/chrome/browser/banners/app_banner_settings_helper.h
|
| +++ b/chrome/browser/banners/app_banner_settings_helper.h
|
| @@ -117,6 +117,11 @@ class AppBannerSettingsHelper {
|
| const std::string& package_name_or_start_url,
|
| AppBannerEvent event);
|
|
|
| + // Returns true if |total_engagement| is sufficiently high to warrant
|
| + // triggering a banner, or if the command-line flag to bypass engagement
|
| + // checking is true.
|
| + static bool HasSufficientEngagement(double total_engagement);
|
| +
|
| // Record a UMA statistic measuring the minutes between the first visit to the
|
| // site and the first showing of the banner.
|
| static void RecordMinutesFromFirstVisitToShow(
|
|
|