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

Unified Diff: components/variations/variations_seed_simulator.h

Issue 2924983003: [Variations] Refactor all state used for study filtering into a container struct. (Closed)
Patch Set: A bit more cleanup Created 3 years, 6 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_simulator.h
diff --git a/components/variations/variations_seed_simulator.h b/components/variations/variations_seed_simulator.h
index c18e6c3210a10a31db24d10143e2fc60e685b60c..72986afc6ff4de2ce3714b2ecba9e5d70e03d74a 100644
--- a/components/variations/variations_seed_simulator.h
+++ b/components/variations/variations_seed_simulator.h
@@ -18,6 +18,7 @@
namespace variations {
class ProcessedStudy;
+struct ClientFilterableState;
class VariationsSeed;
// VariationsSeedSimulator simulates the result of creating a set of studies
@@ -59,14 +60,7 @@ class VariationsSeedSimulator {
// results of the simulation as a set of expected group change counts of each
// type.
Result SimulateSeedStudies(const VariationsSeed& seed,
- const std::string& locale,
- const base::Time& reference_date,
- const base::Version& version,
- Study_Channel channel,
- Study_FormFactor form_factor,
- const std::string& hardware_class,
- const std::string& session_consistency_country,
- const std::string& permanent_consistency_country);
+ const ClientFilterableState& client_state);
private:
friend class VariationsSeedSimulatorTest;
« no previous file with comments | « components/variations/variations_seed_processor_unittest.cc ('k') | components/variations/variations_seed_simulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698