summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/google-api-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/www-client/chromium-73.0.3683.75/google-api-warning.patch')
-rw-r--r--patches/www-client/chromium-73.0.3683.75/google-api-warning.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/www-client/chromium-73.0.3683.75/google-api-warning.patch b/patches/www-client/chromium-73.0.3683.75/google-api-warning.patch
new file mode 100644
index 0000000..2692a13
--- /dev/null
+++ b/patches/www-client/chromium-73.0.3683.75/google-api-warning.patch
@@ -0,0 +1,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 ||