Commit 8e820179 authored by gayane's avatar gayane Committed by Commit bot

Remove variation_ids.h file.

Experiments reservation mechanism moved to server-side therefore variation_ids.h is removed as it is not necessary anymore.

BUG=416881

Review URL: https://codereview.chromium.org/533703002

Cr-Commit-Position: refs/heads/master@{#296273}
parent f88a0f02
...@@ -9,13 +9,27 @@ ...@@ -9,13 +9,27 @@
#include "base/metrics/field_trial.h" #include "base/metrics/field_trial.h"
#include "base/strings/stringprintf.h" #include "base/strings/stringprintf.h"
#include "base/time/time.h" #include "base/time/time.h"
#include "chrome/common/variations/variation_ids.h"
#include "components/variations/variations_associated_data.h" #include "components/variations/variations_associated_data.h"
namespace chrome_variations { namespace chrome_variations {
namespace { 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 // Set up a uniformity field trial. |one_time_randomized| indicates if the
// field trial is one-time randomized or session-randomized. |trial_name_string| // 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 // must contain a "%d" since the percentage of the group will be inserted in
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment