summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/google-api-warning.patch
blob: 2692a1340e2e0229fd1868b9f4bc24670e7c2580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 ||