mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 00:14:20 +09:00
now all chromium patches in all helium repos follow the same dir pattern: `<vendor>/<group>/<...>/<patch>` and there's no longer a "contrib" dir which was admittedly kind of confusing
17 lines
658 B
C++
17 lines
658 B
C++
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
|
|
@@ -188,10 +188,6 @@ void AddInfoBarsIfNecessary(BrowserWindo
|
|
infobars::ContentInfoBarManager* infobar_manager =
|
|
infobars::ContentInfoBarManager::FromWebContents(web_contents);
|
|
|
|
- if (!google_apis::HasAPIKeyConfigured()) {
|
|
- GoogleApiKeysInfoBarDelegate::Create(infobar_manager);
|
|
- }
|
|
-
|
|
if (ObsoleteSystem::IsObsoleteNowOrSoon()) {
|
|
PrefService* local_state = g_browser_process->local_state();
|
|
if (!local_state ||
|