Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: chrome/browser/banners/app_banner_settings_helper.h

Issue 2397043002: Allow variations controls for the time banners are suppressed after ignore/dismiss. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/banners/app_banner_settings_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bfa4577c6968cfc0a88aad66bb474eecf07706f6..034083f7dcafade170a9dda95d21f6709f6fb8f9 100644
--- a/chrome/browser/banners/app_banner_settings_helper.h
+++ b/chrome/browser/banners/app_banner_settings_helper.h
@@ -145,6 +145,11 @@ class AppBannerSettingsHelper {
const GURL& origin_url,
base::Time now);
+ // Set the number of days which dismissing/ignoring the banner should prevent
+ // a banner from showing.
+ static void SetDaysAfterDismissAndIgnoreToTrigger(unsigned int dismiss_days,
+ unsigned int ignore_days);
+
// Set the engagement weights assigned to direct and indirect navigations.
static void SetEngagementWeights(double direct_engagement,
double indirect_engagement);
« no previous file with comments | « no previous file | chrome/browser/banners/app_banner_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698