From 345b291354e1f79fcdfa664d63a5cfbfd12ce161 Mon Sep 17 00:00:00 2001 From: Claudio DeSouza Date: Thu, 21 Apr 2022 16:28:35 +0100 Subject: [PATCH] Removing patch preventing plugin metadata call to gstatic.com This patch had been introduced as result of the following issue: https://github.com/brave/brave-browser/issues/1684 However, this method to fetch plugin metadata has since then been deprecated, and with it, the methods being patched have been removed. Chromium change: https://chromium.googlesource.com/chromium/src/+/a1734d6df773d5984ebc2fb4a5e33ae85609ed97 commit a1734d6df773d5984ebc2fb4a5e33ae85609ed97 Author: Robert Sesek Date: Wed Apr 20 19:09:31 2022 +0000 Delete the PluginsResourceService and WebResourceService. The PluginsResourceService was used to fetch metadata about plugin security updates. But the relevant plugins are deprecated, so Chrome does not need to check for these updates. Nothing else uses WebResourceService, so it too is deleted. The also cleans up the PluginFinder class that used the PluginsResourceService. Bug: 1064647 --- ...rowser-plugins-plugins_resource_service.cc.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 patches/chrome-browser-plugins-plugins_resource_service.cc.patch diff --git a/patches/chrome-browser-plugins-plugins_resource_service.cc.patch b/patches/chrome-browser-plugins-plugins_resource_service.cc.patch deleted file mode 100644 index d4e25c353ede..000000000000 --- a/patches/chrome-browser-plugins-plugins_resource_service.cc.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/chrome/browser/plugins/plugins_resource_service.cc b/chrome/browser/plugins/plugins_resource_service.cc -index 0fa75bfa622479b2b9e0f93a11b2641e0bda9629..3a8547d66bd608c6b4b34d85579c821118b03e5a 100644 ---- a/chrome/browser/plugins/plugins_resource_service.cc -+++ b/chrome/browser/plugins/plugins_resource_service.cc -@@ -54,7 +54,7 @@ const int kStartResourceFetchDelayMs = 60 * 1000; - const int kCacheUpdateDelayMs = 24 * 60 * 60 * 1000; - - const char kPluginsServerUrl[] = -- "https://www.gstatic.com/chrome/config/plugins_3/"; -+ "https://static1.brave.com/chrome/config/plugins_3/"; - - GURL GetPluginsServerURL() { - std::string filename;