summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/core/ungoogled-chromium/block-requests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/core/ungoogled-chromium/block-requests.patch')
-rw-r--r--www/chromium-uc/patches/core/ungoogled-chromium/block-requests.patch32
1 files changed, 16 insertions, 16 deletions
diff --git a/www/chromium-uc/patches/core/ungoogled-chromium/block-requests.patch b/www/chromium-uc/patches/core/ungoogled-chromium/block-requests.patch
index 13eb9d7..1e29eb6 100644
--- a/www/chromium-uc/patches/core/ungoogled-chromium/block-requests.patch
+++ b/www/chromium-uc/patches/core/ungoogled-chromium/block-requests.patch
@@ -1,7 +1,7 @@
1## Prevent request attempts 1## Prevent request attempts
2# chrome://discards/ attempts to use d3 to display the graph 2# chrome://discards/ attempts to use d3 to display the graph
3--- a/chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc 3--- chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc.orig
4+++ b/chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc 4+++ chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc
5@@ -286,6 +286,7 @@ OneGoogleBarLoaderImpl::OneGoogleBarLoad 5@@ -286,6 +286,7 @@ OneGoogleBarLoaderImpl::OneGoogleBarLoad
6 OneGoogleBarLoaderImpl::~OneGoogleBarLoaderImpl() = default; 6 OneGoogleBarLoaderImpl::~OneGoogleBarLoaderImpl() = default;
7 7
@@ -10,8 +10,8 @@
10 callbacks_.push_back(std::move(callback)); 10 callbacks_.push_back(std::move(callback));
11 11
12 // Note: If there is an ongoing request, abandon it. It's possible that 12 // Note: If there is an ongoing request, abandon it. It's possible that
13--- a/chrome/browser/new_tab_page/promos/promo_service.cc 13--- chrome/browser/new_tab_page/promos/promo_service.cc.orig
14+++ b/chrome/browser/new_tab_page/promos/promo_service.cc 14+++ chrome/browser/new_tab_page/promos/promo_service.cc
15@@ -138,6 +138,7 @@ PromoService::PromoService( 15@@ -138,6 +138,7 @@ PromoService::PromoService(
16 PromoService::~PromoService() = default; 16 PromoService::~PromoService() = default;
17 17
@@ -20,8 +20,8 @@
20 net::NetworkTrafficAnnotationTag traffic_annotation = 20 net::NetworkTrafficAnnotationTag traffic_annotation =
21 net::DefineNetworkTrafficAnnotation("promo_service", R"( 21 net::DefineNetworkTrafficAnnotation("promo_service", R"(
22 semantics { 22 semantics {
23--- a/chrome/browser/resources/discards/graph_doc_template.html 23--- chrome/browser/resources/discards/graph_doc_template.html.orig
24+++ b/chrome/browser/resources/discards/graph_doc_template.html 24+++ chrome/browser/resources/discards/graph_doc_template.html
25@@ -78,10 +78,6 @@ URL. As result, this document needs to b 25@@ -78,10 +78,6 @@ URL. As result, this document needs to b
26 } 26 }
27 27
@@ -33,8 +33,8 @@
33 <script type="application/javascript"> 33 <script type="application/javascript">
34 ${javascript_file} 34 ${javascript_file}
35 </script> 35 </script>
36--- a/chrome/browser/search/background/ntp_background_service.cc 36--- chrome/browser/search/background/ntp_background_service.cc.orig
37+++ b/chrome/browser/search/background/ntp_background_service.cc 37+++ chrome/browser/search/background/ntp_background_service.cc
38@@ -83,6 +83,7 @@ void NtpBackgroundService::Shutdown() { 38@@ -83,6 +83,7 @@ void NtpBackgroundService::Shutdown() {
39 } 39 }
40 40
@@ -43,8 +43,8 @@
43 if (collections_loader_ != nullptr) 43 if (collections_loader_ != nullptr)
44 return; 44 return;
45 collection_error_info_.ClearError(); 45 collection_error_info_.ClearError();
46--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc 46--- chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc.orig
47+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc 47+++ chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
48@@ -286,6 +286,7 @@ GURL SpellcheckHunspellDictionary::GetDi 48@@ -286,6 +286,7 @@ GURL SpellcheckHunspellDictionary::GetDi
49 } 49 }
50 50
@@ -53,8 +53,8 @@
53 DCHECK_CURRENTLY_ON(BrowserThread::UI); 53 DCHECK_CURRENTLY_ON(BrowserThread::UI);
54 DCHECK(browser_context_); 54 DCHECK(browser_context_);
55 55
56--- a/components/assist_ranker/ranker_url_fetcher.cc 56--- components/assist_ranker/ranker_url_fetcher.cc.orig
57+++ b/components/assist_ranker/ranker_url_fetcher.cc 57+++ components/assist_ranker/ranker_url_fetcher.cc
58@@ -31,6 +31,7 @@ bool RankerURLFetcher::Request( 58@@ -31,6 +31,7 @@ bool RankerURLFetcher::Request(
59 const GURL& url, 59 const GURL& url,
60 RankerURLFetcher::Callback callback, 60 RankerURLFetcher::Callback callback,
@@ -63,11 +63,11 @@
63 // This function is not supposed to be called if the previous operation is not 63 // This function is not supposed to be called if the previous operation is not
64 // finished. 64 // finished.
65 if (state_ == REQUESTING) { 65 if (state_ == REQUESTING) {
66--- a/components/update_client/update_checker.cc 66--- components/update_client/update_checker.cc.orig
67+++ b/components/update_client/update_checker.cc 67+++ components/update_client/update_checker.cc
68@@ -109,6 +109,7 @@ void UpdateCheckerImpl::CheckForUpdates( 68@@ -129,6 +129,7 @@ void UpdateCheckerImpl::CheckForUpdates(
69 const IdToComponentPtrMap& components,
70 const base::flat_map<std::string, std::string>& additional_attributes, 69 const base::flat_map<std::string, std::string>& additional_attributes,
70 bool enabled_component_updates,
71 UpdateCheckCallback update_check_callback) { 71 UpdateCheckCallback update_check_callback) {
72+ return; 72+ return;
73 DCHECK(thread_checker_.CalledOnValidThread()); 73 DCHECK(thread_checker_.CalledOnValidThread());