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

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

Issue 1309803005: Allow direct and indirect navigation values to be varied via field trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Squash compile failure on windows 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_settings_helper.h
diff --git a/chrome/browser/banners/app_banner_settings_helper.h b/chrome/browser/banners/app_banner_settings_helper.h
index 74db0265a30ffdc49904cc2e0141952280a323ef..d495f0c5d9bb8577bfb2cfba6d35dece9759f36f 100644
--- a/chrome/browser/banners/app_banner_settings_helper.h
+++ b/chrome/browser/banners/app_banner_settings_helper.h
@@ -132,10 +132,17 @@ class AppBannerSettingsHelper {
static base::Time BucketTimeToResolution(base::Time time,
unsigned int minutes);
+ // Queries a field trial for updates to the default engagement values assigned
+ // to direct and indirect navigations.
+ static void UpdateEngagementWeights();
+
// Queries a field trial for updates to the default number of minutes between
// site visits counted for the purposes of displaying a banner.
static void UpdateMinutesBetweenVisits();
+ // Updates all values from field trial.
+ static void UpdateFromFieldTrial();
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(AppBannerSettingsHelper);
};

Powered by Google App Engine
This is Rietveld 408576698