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

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

Issue 1584733003: [Cleanup] Remove some expired omnibox field trials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a unit test Created 4 years, 11 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 | « components/omnibox/browser/omnibox_field_trial_unittest.cc ('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 7d9f19d48b792d21bc7d8ee15e620cd67a632dc1..088781569948139583fb0561e5b7af4d32af1c1e 100644
--- a/ios/chrome/browser/ios_chrome_field_trials.cc
+++ b/ios/chrome/browser/ios_chrome_field_trials.cc
@@ -5,23 +5,9 @@
#include "ios/chrome/browser/ios_chrome_field_trials.h"
#include "base/metrics/field_trial.h"
-#include "components/omnibox/browser/omnibox_field_trial.h"
-
-namespace {
-
-// Instantiates dynamic field trials by querying their state to ensure they
-// get reported as used.
-void InstantiateDynamicTrials() {
- // Activate the autocomplete dynamic field trials.
- OmniboxFieldTrial::ActivateDynamicTrials();
-
- // Activate the iOS tab eviction dynamic field trials.
- base::FieldTrialList::FindValue("TabEviction");
-}
-
-} // namespace
void SetupFieldTrials(const base::CommandLine& command_line,
const base::Time& install_time) {
- InstantiateDynamicTrials();
+ // Activate the iOS tab eviction dynamic field trials.
+ base::FieldTrialList::FindValue("TabEviction");
}
« no previous file with comments | « components/omnibox/browser/omnibox_field_trial_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698