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

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

Issue 1306693005: Allow the minimum time between banner trigger visits to be varied via field trials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
Index: chrome/browser/banners/app_banner_manager.h
diff --git a/chrome/browser/banners/app_banner_manager.h b/chrome/browser/banners/app_banner_manager.h
index ed051fc05c76eafd4c094848bb77b4131beafed8..1f5c5b8596a6fd12e861582c9dcf3b53cf67bc8c 100644
--- a/chrome/browser/banners/app_banner_manager.h
+++ b/chrome/browser/banners/app_banner_manager.h
@@ -82,6 +82,10 @@ class AppBannerManager : public content::WebContentsObserver,
// Cancels an active DataFetcher, stopping its banners from appearing.
void CancelActiveFetcher();
+ // Queries a field trial for updates to the default number of minutes between
+ // site visits counted for the purposes of displaying a banner.
+ void UpdateMinutesBetweenVisits();
+
// Ideal icon size to use.
const int ideal_icon_size_;
« no previous file with comments | « no previous file | chrome/browser/banners/app_banner_manager.cc » ('j') | chrome/browser/banners/app_banner_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698