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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 1306653004: Expand FeatureList to support FieldTrial association. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index e4f88c5bdf463f55b6e3e3be3a09da8a6ef012c1..af247c363118a6c89a5c575f9ddd9095787e1ca5 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -694,9 +694,8 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() {
variations::VariationsService* variations_service =
browser_process_->variations_service();
if (variations_service)
- variations_service->CreateTrialsFromSeed();
+ variations_service->CreateTrialsFromSeed(feature_list.get());
- // TODO(asvitkine): Pass |feature_list| to CreateTrialsFromSeed() above.
base::FeatureList::SetInstance(feature_list.Pass());
// This must be called after |local_state_| is initialized.

Powered by Google App Engine
This is Rietveld 408576698