diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2019-03-27 22:28:00 -0600 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2019-03-27 22:28:00 -0600 |
commit | 3e0dadb346e64108113d6c763a12651b864bacde (patch) | |
tree | 49511a3f6ae41dc9bcd3178f6d65cf03309d0ac7 /patches/www-client/chromium-73.0.3683.75/google-api-warning.patch | |
parent | 1931d6226d12382abfbff8bf5b91eda248f32b0b (diff) | |
download | gentoo.patches-master.tar.gz gentoo.patches-master.tar.xz |
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 <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium-73.0.3683.75/google-api-warning.patch')
-rw-r--r-- | patches/www-client/chromium-73.0.3683.75/google-api-warning.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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 <mgilbert@debian.org> + +--- 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 || |