diff options
author | dominickn <dominickn@chromium.org> | 2015-12-15 03:35:58 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-15 11:36:43 +0000 |
commit | 3e7cdbf1b379398f5e1a710d22629fdf14df02cf (patch) | |
tree | fe1f8f626d8ed6d9bda0be8b82eee1556ad53187 /chrome/common/chrome_switches.cc | |
parent | bff460660c6a1f24141f379c998b4fa774dc6691 (diff) | |
download | chromium_src-3e7cdbf1b379398f5e1a710d22629fdf14df02cf.zip chromium_src-3e7cdbf1b379398f5e1a710d22629fdf14df02cf.tar.gz chromium_src-3e7cdbf1b379398f5e1a710d22629fdf14df02cf.tar.bz2 |
Implement a site engagement backend for app banner triggering.
This CL adds a flag and field trial group enabling app banners to use
the site engagement service for triggering. This allows banners to be
triggered based on broader criteria than simply navigations.
An additional UMA histogram is also added to compare the time from when
an origin was first recorded as visited by the app banner system until
the time when a banner should be shown.
BUG=553858
Committed: https://crrev.com/936894045ed2aed9ee67b9c371a9eff94912c346
Cr-Commit-Position: refs/heads/master@{#363100}
Review URL: https://codereview.chromium.org/1413343008
Cr-Commit-Position: refs/heads/master@{#365227}
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r-- | chrome/common/chrome_switches.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index c9c92498..2b69dbb 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -514,6 +514,12 @@ const char kEnableSimplifiedFullscreenUI[] = "enable-simplified-fullscreen-ui"; const char kDisableSimplifiedFullscreenUI[] = "disable-simplified-fullscreen-ui"; +// Enable the Site Engagement App Banner which triggers app install banners +// using the site engagement service rather than a navigation-based heuristic. +// Implicitly enables the site engagement service. +const char kEnableSiteEngagementAppBanner[] = + "enable-site-engagement-app-banner"; + // Enable the Site Engagement Eviction Policy which evicts temporary storage // using the site engagement service. Implicitly enables the site engagement // service. |