24 lines
872 B
Diff
24 lines
872 B
Diff
From: Your Name <you@example.com>
|
|
Date: Wed, 12 Oct 2022 11:58:29 +0000
|
|
Subject: WIN ADDTO Do not build API keys infobar
|
|
|
|
---
|
|
chrome/browser/ui/startup/infobar_utils.cc | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/chrome/browser/ui/startup/infobar_utils.cc b/chrome/browser/ui/startup/infobar_utils.cc
|
|
--- a/chrome/browser/ui/startup/infobar_utils.cc
|
|
+++ b/chrome/browser/ui/startup/infobar_utils.cc
|
|
@@ -133,9 +133,6 @@ void AddInfoBarsIfNecessary(Browser* browser,
|
|
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 ||
|
|
--
|
|
2.25.1
|