BRM076_browser-ui-disable-warning-about-missing-API-keys.patch 864 B

1234567891011121314151617181920212223
  1. From: Joachim Bauch <bauch@struktur.de>
  2. Date: Tue, 9 Dec 2014 17:19:41 +0100
  3. Subject: browser-ui: disable warning about missing API keys
  4. We do not want to use the services anyway ;)
  5. ---
  6. chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc | 1 +
  7. 1 file changed, 1 insertion(+)
  8. diff --git a/chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc b/chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc
  9. --- a/chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc
  10. +++ b/chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc
  11. @@ -14,6 +14,7 @@
  12. // static
  13. void GoogleApiKeysInfoBarDelegate::Create(InfoBarService* infobar_service) {
  14. + return;
  15. infobar_service->AddInfoBar(infobar_service->CreateConfirmInfoBar(
  16. std::unique_ptr<ConfirmInfoBarDelegate>(
  17. new GoogleApiKeysInfoBarDelegate())));
  18. --
  19. 2.11.0