Commit 2fb32bf8 authored by Cathy Li's avatar Cathy Li Committed by Commit Bot

[ExploreSites] Create flag for new explore sites feature.

Change-Id: Ib56a9240c13723d5a4a2f3bb3a5ca16e6d1acaa6
Reviewed-on: https://chromium-review.googlesource.com/1087670
Commit-Queue: Cathy Li <chili@chromium.org>
Reviewed-by: default avatarDmitry Titov <dimich@chromium.org>
Reviewed-by: default avatarJustin DeWitt <dewittj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#564985}
parent c902850a
......@@ -1294,6 +1294,9 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kContextualSearchSecondTapName,
flag_descriptions::kContextualSearchSecondTapDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kContextualSearchSecondTap)},
{"explore-sites", flag_descriptions::kExploreSitesName,
flag_descriptions::kExploreSitesDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kExploreSites)},
#endif // OS_ANDROID
{"show-autofill-type-predictions",
flag_descriptions::kShowAutofillTypePredictionsName,
......
......@@ -95,6 +95,7 @@ const base::Feature* kFeaturesExposedToJava[] = {
&kDownloadProgressInfoBar,
&kDownloadHomeShowStorageInfo,
&data_reduction_proxy::features::kDataReductionMainMenu,
&kExploreSites,
&kFullscreenActivity,
&kHomePageButtonForceEnabled,
&kHorizontalTabSwitcherAndroid,
......@@ -256,6 +257,9 @@ const base::Feature kDownloadProgressInfoBar{"DownloadProgressInfoBar",
const base::Feature kDownloadHomeShowStorageInfo{
"DownloadHomeShowStorageInfo", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kExploreSites{"ExploreSites",
base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kFullscreenActivity{"FullscreenActivity",
base::FEATURE_DISABLED_BY_DEFAULT};
......
......@@ -41,6 +41,7 @@ extern const base::Feature kDontPrefetchLibraries;
extern const base::Feature kDownloadAutoResumptionThrottling;
extern const base::Feature kDownloadProgressInfoBar;
extern const base::Feature kDownloadHomeShowStorageInfo;
extern const base::Feature kExploreSites;
extern const base::Feature kFullscreenActivity;
extern const base::Feature kHomePageButtonForceEnabled;
extern const base::Feature kHorizontalTabSwitcherAndroid;
......
......@@ -2056,6 +2056,10 @@ const char kContextualSearchSecondTapDescription[] =
"Enables triggering on a second tap gesture even when Ranker would "
"normally suppress that tap.";
const char kExploreSitesName[] = "Explore websites";
const char kExploreSitesDescription[] =
"Enables portal from new tab page to explore websites.";
const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
const char kDontPrefetchLibrariesDescription[] =
"Don't prefetch libraries after loading.";
......
......@@ -1250,6 +1250,9 @@ extern const char kContextualSearchRankerQueryDescription[];
extern const char kContextualSearchSecondTapName[];
extern const char kContextualSearchSecondTapDescription[];
extern const char kExploreSitesName[];
extern const char kExploreSitesDescription[];
extern const char kDontPrefetchLibrariesName[];
extern const char kDontPrefetchLibrariesDescription[];
......
......@@ -27407,6 +27407,7 @@ from previous Chrome versions.
<int value="-650504533" label="enable-speculative-launch-service-worker"/>
<int value="-650176557" label="OfflinePagesSvelteConcurrentLoading:enabled"/>
<int value="-649956990" label="enable-harfbuzz-rendertext"/>
<int value="-648925189" label="ExploreSites:enabled"/>
<int value="-645455405" label="MacViewsNativeDialogs:enabled"/>
<int value="-641719457" label="disable-compositor-touch-hit-testing"/>
<int value="-639026783" label="disable-gpu-appcontainer"/>
......@@ -27956,6 +27957,7 @@ from previous Chrome versions.
<int value="634789085" label="LayeredAPI:disabled"/>
<int value="635076832" label="MarkHttpAs:disabled"/>
<int value="635971109" label="PrintPdfAsImage:disabled"/>
<int value="636341169" label="ExploreSites:disabled"/>
<int value="636425179" label="mhtml-generator-option"/>
<int value="637396292" label="AllBookmarks:enabled"/>
<int value="637452937" label="ChromeHomeSurvey:enabled"/>
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