From 3e0dadb346e64108113d6c763a12651b864bacde Mon Sep 17 00:00:00 2001 From: Kenny Ballou Date: Wed, 27 Mar 2019 22:28:00 -0600 Subject: Add debian disable patches for chromium-73 Add the set of patches from the debian project for disalbing certain features and configurations of chromium. Specifically, the `tracing.patch` seems to allow the package to compile. [0]: https://salsa.debian.org/chromium-team/chromium/tree/master/debian/patches/disable Signed-off-by: Kenny Ballou --- .../chromium-73.0.3683.75/google-api-warning.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 patches/www-client/chromium-73.0.3683.75/google-api-warning.patch (limited to 'patches/www-client/chromium-73.0.3683.75/google-api-warning.patch') diff --git a/patches/www-client/chromium-73.0.3683.75/google-api-warning.patch b/patches/www-client/chromium-73.0.3683.75/google-api-warning.patch new file mode 100644 index 0000000..2692a13 --- /dev/null +++ b/patches/www-client/chromium-73.0.3683.75/google-api-warning.patch @@ -0,0 +1,16 @@ +description: disable the google api key warning when those aren't found +author: Michael Gilbert + +--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc ++++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc +@@ -807,10 +807,6 @@ void StartupBrowserCreatorImpl::AddInfoB + chrome::ShowBadFlagsPrompt(web_contents); + InfoBarService* infobar_service = + InfoBarService::FromWebContents(web_contents); +- if (!google_apis::HasAPIKeyConfigured() || +- !google_apis::HasOAuthClientConfigured()) { +- GoogleApiKeysInfoBarDelegate::Create(infobar_service); +- } + if (ObsoleteSystem::IsObsoleteNowOrSoon()) { + PrefService* local_state = g_browser_process->local_state(); + if (!local_state || -- cgit v1.2.1