aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/chromium-disable-api-keys-warning.patch
blob: c7e219f40e1ee1ec1f92c57db88dc6f33bcfe2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Disable warning about missing API keys.

Copied from:

https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git/tree/debian/patches/disable/google-api-warning.patch

--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -816,8 +816,6 @@ void StartupBrowserCreatorImpl::AddInfoB
       !command_line_.HasSwitch(switches::kTestType) &&
       !command_line_.HasSwitch(switches::kEnableAutomation)) {
     chrome::ShowBadFlagsPrompt(browser);
-    GoogleApiKeysInfoBarDelegate::Create(InfoBarService::FromWebContents(
-        browser->tab_strip_model()->GetActiveWebContents()));
     ObsoleteSystemInfoBarDelegate::Create(InfoBarService::FromWebContents(
         browser->tab_strip_model()->GetActiveWebContents()));