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

Unified Diff: components/variations/variations_seed_processor.h

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/variations_seed_processor.h
diff --git a/components/variations/variations_seed_processor.h b/components/variations/variations_seed_processor.h
index edbe059524243dd2fe2584be9989c6363cb8fd5e..f7199bef883d3078e78164b1a9c932892193a5b3 100644
--- a/components/variations/variations_seed_processor.h
+++ b/components/variations/variations_seed_processor.h
@@ -18,6 +18,10 @@
#include "components/variations/proto/study.pb.h"
#include "components/variations/proto/variations_seed.pb.h"
+namespace base {
+class FeatureList;
+}
+
namespace variations {
class ProcessedStudy;
@@ -42,7 +46,8 @@ class VariationsSeedProcessor {
const std::string& hardware_class,
const std::string& session_consistency_country,
const std::string& permanent_consistency_country,
- const UIStringOverrideCallback& override_callback);
+ const UIStringOverrideCallback& override_callback,
+ base::FeatureList* feature_list);
private:
friend class VariationsSeedProcessorTest;
@@ -71,7 +76,8 @@ class VariationsSeedProcessor {
// Creates and registers a field trial from the |processed_study| data.
// Disables the trial if |processed_study.is_expired| is true.
void CreateTrialFromStudy(const ProcessedStudy& processed_study,
- const UIStringOverrideCallback& override_callback);
+ const UIStringOverrideCallback& override_callback,
+ base::FeatureList* feature_list);
DISALLOW_COPY_AND_ASSIGN(VariationsSeedProcessor);
};
« no previous file with comments | « components/variations/service/variations_service.cc ('k') | components/variations/variations_seed_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698