summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/core/ungoogled-chromium/disable-domain-reliability.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/core/ungoogled-chromium/disable-domain-reliability.patch')
-rw-r--r--www/chromium-uc/patches/core/ungoogled-chromium/disable-domain-reliability.patch44
1 files changed, 30 insertions, 14 deletions
diff --git a/www/chromium-uc/patches/core/ungoogled-chromium/disable-domain-reliability.patch b/www/chromium-uc/patches/core/ungoogled-chromium/disable-domain-reliability.patch
index d342db3..adc446c 100644
--- a/www/chromium-uc/patches/core/ungoogled-chromium/disable-domain-reliability.patch
+++ b/www/chromium-uc/patches/core/ungoogled-chromium/disable-domain-reliability.patch
@@ -2,8 +2,8 @@
2# Many of these changes are for thoroughness, 2# Many of these changes are for thoroughness,
3# the most significant changes are in service_factory.cc and uploader.cc 3# the most significant changes are in service_factory.cc and uploader.cc
4 4
5--- a/chrome/browser/domain_reliability/service_factory.cc 5--- chrome/browser/domain_reliability/service_factory.cc.orig
6+++ b/chrome/browser/domain_reliability/service_factory.cc 6+++ chrome/browser/domain_reliability/service_factory.cc
7@@ -11,34 +11,12 @@ 7@@ -11,34 +11,12 @@
8 8
9 namespace domain_reliability { 9 namespace domain_reliability {
@@ -40,8 +40,8 @@
40 } 40 }
41 41
42 } // namespace domain_reliability 42 } // namespace domain_reliability
43--- a/components/domain_reliability/BUILD.gn 43--- components/domain_reliability/BUILD.gn.orig
44+++ b/components/domain_reliability/BUILD.gn 44+++ components/domain_reliability/BUILD.gn
45@@ -7,26 +7,6 @@ action("bake_in_configs") { 45@@ -7,26 +7,6 @@ action("bake_in_configs") {
46 script = "bake_in_configs.py" 46 script = "bake_in_configs.py"
47 47
@@ -98,8 +98,8 @@
98 } 98 }
99 99
100 component("domain_reliability") { 100 component("domain_reliability") {
101--- a/components/domain_reliability/bake_in_configs.py 101--- components/domain_reliability/bake_in_configs.py.orig
102+++ b/components/domain_reliability/bake_in_configs.py 102+++ components/domain_reliability/bake_in_configs.py
103@@ -490,7 +490,7 @@ def origin_is_whitelisted(origin): 103@@ -490,7 +490,7 @@ def origin_is_whitelisted(origin):
104 domain = origin[8:-1] 104 domain = origin[8:-1]
105 else: 105 else:
@@ -109,9 +109,9 @@
109 109
110 110
111 def quote_and_wrap_text(text, width=79, prefix=' "', suffix='"'): 111 def quote_and_wrap_text(text, width=79, prefix=' "', suffix='"'):
112--- a/components/domain_reliability/google_configs.cc 112--- components/domain_reliability/google_configs.cc.orig
113+++ b/components/domain_reliability/google_configs.cc 113+++ components/domain_reliability/google_configs.cc
114@@ -11,548 +11,6 @@ 114@@ -11,564 +11,6 @@
115 115
116 namespace domain_reliability { 116 namespace domain_reliability {
117 117
@@ -402,6 +402,9 @@
402- {"ampproject.net", true, false, false}, 402- {"ampproject.net", true, false, false},
403- {"ampproject.org", true, false, false}, 403- {"ampproject.org", true, false, false},
404- {"android.com", true, false, false}, 404- {"android.com", true, false, false},
405- {"anycast-edge.metric.gstatic.com", true, false, false},
406- {"anycast-stb.metric.gstatic.com", true, false, false},
407- {"anycast.metric.gstatic.com", true, false, false},
405- {"cdn.ampproject.org", true, false, false}, 408- {"cdn.ampproject.org", true, false, false},
406- {"chromecast.com", true, false, false}, 409- {"chromecast.com", true, false, false},
407- {"chromeexperiments.com", true, false, false}, 410- {"chromeexperiments.com", true, false, false},
@@ -458,6 +461,19 @@
458- {"picasa.com", true, false, false}, 461- {"picasa.com", true, false, false},
459- {"recaptcha.net", true, false, false}, 462- {"recaptcha.net", true, false, false},
460- {"stackdriver.com", true, false, false}, 463- {"stackdriver.com", true, false, false},
464- {"stbcast-stb.metric.gstatic.com", true, false, false},
465- {"stbcast.metric.gstatic.com", true, false, false},
466- {"stbcast2-stb.metric.gstatic.com", true, false, false},
467- {"stbcast2.metric.gstatic.com", true, false, false},
468- {"stbcast3-stb.metric.gstatic.com", true, false, false},
469- {"stbcast3.metric.gstatic.com", true, false, false},
470- {"stbcast4-stb.metric.gstatic.com", true, false, false},
471- {"stbcast4.metric.gstatic.com", true, false, false},
472- {"unicast-edge.metric.gstatic.com", true, false, false},
473- {"unicast-stb.metric.gstatic.com", true, false, false},
474- {"unicast.metric.gstatic.com", true, false, false},
475- {"unicast2-stb.metric.gstatic.com", true, false, false},
476- {"unicast2.metric.gstatic.com", true, false, false},
461- {"waze.com", true, false, false}, 477- {"waze.com", true, false, false},
462- {"withgoogle.com", true, false, false}, 478- {"withgoogle.com", true, false, false},
463- {"youtu.be", true, false, false}, 479- {"youtu.be", true, false, false},
@@ -660,7 +676,7 @@
660 std::unique_ptr<const DomainReliabilityConfig> MaybeGetGoogleConfig( 676 std::unique_ptr<const DomainReliabilityConfig> MaybeGetGoogleConfig(
661 const std::string& hostname) { 677 const std::string& hostname) {
662 bool is_www_subdomain = 678 bool is_www_subdomain =
663@@ -562,23 +20,6 @@ std::unique_ptr<const DomainReliabilityC 679@@ -578,23 +20,6 @@ std::unique_ptr<const DomainReliabilityC
664 std::unique_ptr<const DomainReliabilityConfig> config; 680 std::unique_ptr<const DomainReliabilityConfig> config;
665 std::unique_ptr<const DomainReliabilityConfig> superdomain_config; 681 std::unique_ptr<const DomainReliabilityConfig> superdomain_config;
666 682
@@ -684,7 +700,7 @@
684 if (config) { 700 if (config) {
685 DCHECK(config->origin.host() == hostname); 701 DCHECK(config->origin.host() == hostname);
686 return config; 702 return config;
687@@ -597,11 +38,6 @@ std::vector<std::unique_ptr<const Domain 703@@ -613,11 +38,6 @@ std::vector<std::unique_ptr<const Domain
688 GetAllGoogleConfigsForTesting() { 704 GetAllGoogleConfigsForTesting() {
689 std::vector<std::unique_ptr<const DomainReliabilityConfig>> configs_out; 705 std::vector<std::unique_ptr<const DomainReliabilityConfig>> configs_out;
690 706
@@ -696,9 +712,9 @@
696 return configs_out; 712 return configs_out;
697 } 713 }
698 714
699--- a/components/domain_reliability/uploader.cc 715--- components/domain_reliability/uploader.cc.orig
700+++ b/components/domain_reliability/uploader.cc 716+++ components/domain_reliability/uploader.cc
701@@ -80,7 +80,7 @@ class DomainReliabilityUploaderImpl : pu 717@@ -79,7 +79,7 @@ class DomainReliabilityUploaderImpl : pu
702 if (discard_uploads_) 718 if (discard_uploads_)
703 discarded_upload_count_++; 719 discarded_upload_count_++;
704 720