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

Unified Diff: chrome/browser/android/banners/app_banner_manager_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_manager_android.cc
diff --git a/chrome/browser/android/banners/app_banner_manager_android.cc b/chrome/browser/android/banners/app_banner_manager_android.cc
index 946ad02201971e514683a87facee3a0ccf7ac5aa..9d0bff156b5fc44d03887cd125dde2cd50ce8f01 100644
--- a/chrome/browser/android/banners/app_banner_manager_android.cc
+++ b/chrome/browser/android/banners/app_banner_manager_android.cc
@@ -172,7 +172,7 @@ void AppBannerManagerAndroid::PerformInstallableCheck() {
Stop();
}
- if (ChromeWebApkHost::AreWebApkEnabled()) {
+ if (ChromeWebApkHost::CanInstallWebApk()) {
if (!AreWebManifestUrlsWebApkCompatible(manifest_)) {
ReportStatus(web_contents(), URL_NOT_SUPPORTED_FOR_WEBAPK);
Stop();

Powered by Google App Engine
This is Rietveld 408576698