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

Unified Diff: components/variations/service/variations_service.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: components/variations/service/variations_service.cc
diff --git a/components/variations/service/variations_service.cc b/components/variations/service/variations_service.cc
index 97d0769075fd28a73e110b1a86d8dac5863d5d74..a788ea01fc9bafc86e65f80c67161de9db5fba1e 100644
--- a/components/variations/service/variations_service.cc
+++ b/components/variations/service/variations_service.cc
@@ -220,7 +220,7 @@ VariationsService::VariationsService(
VariationsService::~VariationsService() {
}
-bool VariationsService::CreateTrialsFromSeed() {
+bool VariationsService::CreateTrialsFromSeed(base::FeatureList* feature_list) {
DCHECK(thread_checker_.CalledOnValidThread());
create_trials_from_seed_called_ = true;
@@ -247,7 +247,8 @@ bool VariationsService::CreateTrialsFromSeed() {
GetCurrentFormFactor(), GetHardwareClass(), latest_country,
LoadPermanentConsistencyCountry(current_version, latest_country),
base::Bind(&VariationsServiceClient::OverrideUIString,
- base::Unretained(client_.get())));
+ base::Unretained(client_.get())),
+ feature_list);
const base::Time now = base::Time::Now();

Powered by Google App Engine
This is Rietveld 408576698