Commit 10783637 authored by asvitkine's avatar asvitkine Committed by Commit bot

Change variations service domain for Android Chrome.

The new domain is clientservices.googleapis.com.

Also, removes testing config for VarationsServiceControl
30m interval trial, since that's the client default.
Updates the parameter code for the fetch interval to fix
the typo in the trial name.

Note: Should not be submitted until we verify that the new
URL is working.

BUG=635680

Review-Url: https://codereview.chromium.org/2223263002
Cr-Commit-Position: refs/heads/master@{#415750}
parent c224a65e
......@@ -47,7 +47,7 @@ void VariationsRequestScheduler::OnAppEnterForeground() {
base::TimeDelta VariationsRequestScheduler::GetFetchPeriod() const {
// The fetch interval can be overridden by a variation param.
std::string period_min_str =
variations::GetVariationParamValue("VarationsServiceControl",
variations::GetVariationParamValue("VariationsServiceControl",
"fetch_period_min");
size_t period_min;
if (base::StringToSizeT(period_min_str, &period_min))
......
......@@ -7,7 +7,12 @@
namespace variations {
// Default server of Variations seed info.
#if defined(OS_ANDROID)
const char kDefaultServerUrl[] =
"https://clientservices.googleapis.com/chrome-variations/seed";
#else
const char kDefaultServerUrl[] =
"https://clients4.google.com/chrome-variations/seed";
#endif
} // namespace variations
......@@ -568,14 +568,6 @@
"group_name": "aggressive"
}
],
"VarationsServiceControl": [
{
"group_name": "Interval_30min",
"params": {
"fetch_period_min": "30"
}
}
],
"WebFontsInterventionV2": [
{
"group_name": "Enabled-slow2g"
......
......@@ -335,14 +335,6 @@
"group_name": "aggressive"
}
],
"VarationsServiceControl": [
{
"group_name": "Interval_30min",
"params": {
"fetch_period_min": "30"
}
}
],
"WebFontsInterventionV2": [
{
"group_name": "Enabled-slow2g"
......
......@@ -92,13 +92,5 @@
{
"group_name": "Enabled"
}
],
"VarationsServiceControl": [
{
"group_name": "Interval_30min",
"params": {
"fetch_period_min": "30"
}
}
]
}
......@@ -397,14 +397,6 @@
"group_name": "aggressive"
}
],
"VarationsServiceControl": [
{
"group_name": "Interval_30min",
"params": {
"fetch_period_min": "30"
}
}
],
"WebFontsInterventionV2": [
{
"group_name": "Enabled-slow2g"
......
......@@ -441,14 +441,6 @@
"group_name": "aggressive"
}
],
"VarationsServiceControl": [
{
"group_name": "Interval_30min",
"params": {
"fetch_period_min": "30"
}
}
],
"ViewsSimplifiedFullscreenUI": [
{
"enable_features": [
......
......@@ -501,14 +501,6 @@
"group_name": "aggressive"
}
],
"VarationsServiceControl": [
{
"group_name": "Interval_30min",
"params": {
"fetch_period_min": "30"
}
}
],
"WebFontsInterventionV2": [
{
"group_name": "Enabled-slow2g"
......
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