mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
@@ -30,27 +30,25 @@ See also: https://tools.ietf.org/id/draft-ietf-doh-dns-over-https-02.txt
|
||||
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -432,6 +432,11 @@ const FeatureEntry::Choice kChromeHomeSw
|
||||
switches::kChromeHomeSwipeLogicType, "velocity"},
|
||||
};
|
||||
@@ -434,6 +434,11 @@ const FeatureEntry::Choice kChromeHomeSw
|
||||
|
||||
#endif // OS_ANDROID
|
||||
|
||||
+const FeatureEntry::Choice kDnsOverHttpsChoices[] = {
|
||||
+ {features::kDnsOverHttpsChoiceDefault, "", ""},
|
||||
+ {features::kDnsOverHttpsChoiceCloudflare, switches::kDnsOverHttpsServer, "https://1.1.1.1/dns-query"},
|
||||
+};
|
||||
+
|
||||
#endif // OS_ANDROID
|
||||
|
||||
const FeatureEntry::Choice kNumRasterThreadsChoices[] = {
|
||||
@@ -3552,6 +3557,12 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
|
||||
{flag_descriptions::kNumRasterThreadsOne, switches::kNumRasterThreads, "1"},
|
||||
@@ -3552,6 +3557,10 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
FEATURE_VALUE_TYPE(features::kAsyncDns)},
|
||||
#endif // defined(OS_ANDROID)
|
||||
|
||||
+#if defined(OS_ANDROID)
|
||||
+ {"enable-dns-over-https", flag_descriptions::kDnsOverHttpsName,
|
||||
+ flag_descriptions::kDnsOverHttpsDescription, kOsAndroid,
|
||||
+ flag_descriptions::kDnsOverHttpsDescription, kOsAll,
|
||||
+ MULTI_VALUE_TYPE(kDnsOverHttpsChoices)},
|
||||
+#endif // defined(OS_ANDROID)
|
||||
+
|
||||
{"enable-overflow-icons-for-media-controls",
|
||||
flag_descriptions::kOverflowIconsForMediaControlsName,
|
||||
|
||||
Reference in New Issue
Block a user