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

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: overriden -> overridden; at() -> find() 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 bdc3e2a2951a4ba6d79fa181d209ec9524397a59..1ccfc104d2352562a363517bedfe42f97ae40a45 100644
--- a/components/variations/service/variations_service.cc
+++ b/components/variations/service/variations_service.cc
@@ -221,7 +221,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;
@@ -248,7 +248,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