blob: d1ef899ef57b8939fcf7fd27bf53cdb699d269c4 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#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);
}