Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: chrome/browser/android/banners/app_banner_infobar_delegate_android.cc

Issue 2675803004: Fall back to shortcut A2HS when Phonesky is out of date or unavailable. (Closed)
Patch Set: Rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
index 090e1f260a452ca9e831cda9ca0cc8cafcef5086..fdd258f2d90ec8a23726147a6b3c1ebe4e18ae56 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
@@ -54,7 +54,7 @@ bool AppBannerInfoBarDelegateAndroid::Create(
std::unique_ptr<SkBitmap> icon,
int event_request_id,
webapk::InstallSource webapk_install_source) {
- bool is_webapk = ChromeWebApkHost::AreWebApkEnabled();
+ bool is_webapk = ChromeWebApkHost::CanInstallWebApk();
std::string webapk_package_name = "";
const GURL& url = shortcut_info->url;
if (is_webapk)

Powered by Google App Engine
This is Rietveld 408576698