summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/core/ungoogled-chromium/doh-changes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/core/ungoogled-chromium/doh-changes.patch')
-rw-r--r--www/chromium-uc/patches/core/ungoogled-chromium/doh-changes.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/www/chromium-uc/patches/core/ungoogled-chromium/doh-changes.patch b/www/chromium-uc/patches/core/ungoogled-chromium/doh-changes.patch
deleted file mode 100644
index 4ee53be..0000000
--- a/www/chromium-uc/patches/core/ungoogled-chromium/doh-changes.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1--- chrome/common/chrome_features.cc.orig
2+++ chrome/common/chrome_features.cc
3@@ -323,12 +323,7 @@ const base::Feature kDesktopPWAsWebBundl
4 // Enable DNS over HTTPS (DoH).
5 const base::Feature kDnsOverHttps {
6 "DnsOverHttps",
7-#if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_MAC) || \
8- defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD)
9- base::FEATURE_ENABLED_BY_DEFAULT
10-#else
11 base::FEATURE_DISABLED_BY_DEFAULT
12-#endif
13 };
14
15 // Provides a mechanism to remove providers from the dropdown list in the
16--- net/dns/public/doh_provider_entry.cc.orig
17+++ net/dns/public/doh_provider_entry.cc
18@@ -117,24 +117,6 @@ const DohProviderEntry::List& DohProvide
19 /*privacy_policy=*/"https://dns.sb/privacy/",
20 /*display_globally=*/false, /*display_countries=*/{"EE", "DE"},
21 LoggingLevel::kNormal),
22- new DohProviderEntry("Google", DohProviderIdForHistogram::kGoogle,
23- {"8.8.8.8", "8.8.4.4", "2001:4860:4860::8888",
24- "2001:4860:4860::8844"},
25- {"dns.google", "dns.google.com",
26- "8888.google"} /* dns_over_tls_hostnames */,
27- "https://dns.google/dns-query{?dns}",
28- "Google (Public DNS)" /* ui_name */,
29- "https://developers.google.com/speed/public-dns/"
30- "privacy" /* privacy_policy */,
31- true /* display_globally */,
32- {} /* display_countries */, LoggingLevel::kExtra),
33- new DohProviderEntry(
34- "GoogleDns64", absl::nullopt /* provider_id_for_histogram */,
35- {"2001:4860:4860::64", "2001:4860:4860::6464"},
36- {"dns64.dns.google"} /* dns_over_tls_hostnames */,
37- "https://dns64.dns.google/dns-query{?dns}", "" /* ui_name */,
38- "" /* privacy_policy */, false /* display_globally */,
39- {} /* display_countries */, LoggingLevel::kNormal),
40 new DohProviderEntry("Iij", DohProviderIdForHistogram::kIij,
41 {} /* ip_strs */, {} /* dns_over_tls_hostnames */,
42 "https://public.dns.iij.jp/dns-query",
43--- services/network/public/cpp/features.cc.orig
44+++ services/network/public/cpp/features.cc
45@@ -114,12 +114,7 @@ const base::Feature kSplitAuthCacheByNet
46 // Enable usage of hardcoded DoH upgrade mapping for use in automatic mode.
47 const base::Feature kDnsOverHttpsUpgrade {
48 "DnsOverHttpsUpgrade",
49-#if BUILDFLAG(IS_CHROMEOS_ASH) || defined(OS_MAC) || defined(OS_ANDROID) || \
50- defined(OS_WIN)
51- base::FEATURE_ENABLED_BY_DEFAULT
52-#else
53 base::FEATURE_DISABLED_BY_DEFAULT
54-#endif
55 };
56
57 // If this feature is enabled, the mDNS responder service responds to queries