Index: chrome/common/variations/uniformity_field_trials.cc |
diff --git a/chrome/common/variations/uniformity_field_trials.cc b/chrome/common/variations/uniformity_field_trials.cc |
index c67d0bb6d87e6be6aa7a1e661efed97c8059a04b..8202d135770023b59f658526c12e1677bfbc3ea0 100644 |
--- a/chrome/common/variations/uniformity_field_trials.cc |
+++ b/chrome/common/variations/uniformity_field_trials.cc |
@@ -9,13 +9,27 @@ |
#include "base/metrics/field_trial.h" |
#include "base/strings/stringprintf.h" |
#include "base/time/time.h" |
-#include "chrome/common/variations/variation_ids.h" |
#include "components/variations/variations_associated_data.h" |
namespace chrome_variations { |
namespace { |
+const int MINIMIUM_ID = 3300000; |
+ |
+const int UNIFORMITY_1_PERCENT_BASE = MINIMIUM_ID; |
+const int UNIFORMITY_1_PERCENT_LIMIT = UNIFORMITY_1_PERCENT_BASE + 100; |
+const int UNIFORMITY_5_PERCENT_BASE = UNIFORMITY_1_PERCENT_LIMIT; |
+const int UNIFORMITY_5_PERCENT_LIMIT = UNIFORMITY_5_PERCENT_BASE + 20; |
+const int UNIFORMITY_10_PERCENT_BASE = UNIFORMITY_5_PERCENT_LIMIT; |
+const int UNIFORMITY_10_PERCENT_LIMIT = UNIFORMITY_10_PERCENT_BASE + 10; |
+const int UNIFORMITY_20_PERCENT_BASE = UNIFORMITY_10_PERCENT_LIMIT; |
+const int UNIFORMITY_20_PERCENT_LIMIT = UNIFORMITY_20_PERCENT_BASE + 5; |
+const int UNIFORMITY_50_PERCENT_BASE = UNIFORMITY_20_PERCENT_LIMIT; |
+// A uniformity trial used to compare one-time-randomized and |
+// session-randomized FieldTrials. |
+const int UNIFORMITY_SESSION_RANDOMIZED_5_PERCENT_BASE = 3300139; |
+ |
// Set up a uniformity field trial. |one_time_randomized| indicates if the |
// field trial is one-time randomized or session-randomized. |trial_name_string| |
// must contain a "%d" since the percentage of the group will be inserted in |