Commit c96cc95a authored by Ryan Sturm's avatar Ryan Sturm Committed by Commit Bot

Enabling PreconnectToSearch by default on Android

Bug: 1032153
Change-Id: I6202ac7ece548ba8a5f63ef36a2151fc9cd7e3ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391584Reviewed-by: default avatarTarun Bansal <tbansal@chromium.org>
Commit-Queue: Ryan Sturm <ryansturm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804041}
parent 67040165
......@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "base/metrics/field_trial_params.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "chrome/browser/predictors/loading_predictor.h"
#include "chrome/browser/predictors/loading_predictor_factory.h"
#include "chrome/browser/profiles/profile.h"
......@@ -20,8 +21,15 @@
namespace features {
// Feature to control preconnect to search.
const base::Feature kPreconnectToSearch{"PreconnectToSearch",
base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kPreconnectToSearch {
"PreconnectToSearch",
#if defined(OS_ANDROID)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif
};
// Feature to limit experimentation to Google search only.
const base::Feature kPreconnectToSearchNonGoogle{
......
......@@ -5243,7 +5243,6 @@
"PreconnectToSearch": [
{
"platforms": [
"android",
"linux",
"windows",
"chromeos",
......
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