Files
helium/patches/extra/debian/disable/google-api-warning.patch

17 lines
658 B
Diff
Raw Normal View History

description: disable the google api key warning when those aren't found
author: Michael Gilbert <mgilbert@debian.org>
--- a/chrome/browser/ui/startup/infobar_utils.cc
+++ b/chrome/browser/ui/startup/infobar_utils.cc
2025-10-22 16:34:39 -05:00
@@ -188,10 +188,6 @@ void AddInfoBarsIfNecessary(BrowserWindo
2025-06-15 07:00:38 -05:00
infobars::ContentInfoBarManager* infobar_manager =
infobars::ContentInfoBarManager::FromWebContents(web_contents);
2019-07-30 19:00:28 -04:00
2025-06-15 07:00:38 -05:00
- if (!google_apis::HasAPIKeyConfigured()) {
- GoogleApiKeysInfoBarDelegate::Create(infobar_manager);
- }
2021-01-14 00:27:59 -06:00
-
2025-06-15 07:00:38 -05:00
if (ObsoleteSystem::IsObsoleteNowOrSoon()) {
PrefService* local_state = g_browser_process->local_state();
if (!local_state ||