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

Unified Diff: ios/chrome/browser/ios_chrome_field_trials.cc

Issue 2484233002: Hard coded finch config for Popular site (Closed)
Patch Set: Adding a comment. Created 4 years, 1 month 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 | « ios/chrome/browser/ios_chrome_field_trials.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ios_chrome_field_trials.cc
diff --git a/ios/chrome/browser/ios_chrome_field_trials.cc b/ios/chrome/browser/ios_chrome_field_trials.cc
index fb1b5f33ce07d29c1719228e5836e606d16ce5cd..d1ef899ef57b8939fcf7fd27bf53cdb699d269c4 100644
--- a/ios/chrome/browser/ios_chrome_field_trials.cc
+++ b/ios/chrome/browser/ios_chrome_field_trials.cc
@@ -5,8 +5,15 @@
#include "ios/chrome/browser/ios_chrome_field_trials.h"
#include "base/metrics/field_trial.h"
+#include "components/ntp_tiles/field_trial.h"
+#include "components/version_info/version_info.h"
+#include "ios/chrome/common/channel_info.h"
void SetupIOSFieldTrials() {
// Activate the iOS tab eviction dynamic field trials.
base::FieldTrialList::FindValue("TabEviction");
+
+ // Setup a field trial for a first run experiment on Popular sites.
+ ntp_tiles::SetUpFirstLaunchFieldTrial(GetChannel() ==
+ version_info::Channel::STABLE);
}
« no previous file with comments | « ios/chrome/browser/ios_chrome_field_trials.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698