google-api-warning.patch 696 B

12345678910111213141516
  1. description: disable the google api key warning when those aren't found
  2. author: Michael Gilbert <mgilbert@debian.org>
  3. --- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
  4. +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
  5. @@ -901,10 +901,6 @@ void StartupBrowserCreatorImpl::AddInfoB
  6. InfoBarService* infobar_service =
  7. InfoBarService::FromWebContents(web_contents);
  8. - if (!google_apis::HasAPIKeyConfigured() ||
  9. - !google_apis::HasOAuthClientConfigured()) {
  10. - GoogleApiKeysInfoBarDelegate::Create(infobar_service);
  11. - }
  12. if (ObsoleteSystem::IsObsoleteNowOrSoon()) {
  13. PrefService* local_state = g_browser_process->local_state();