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

Unified Diff: chrome/browser/android/webapk/chrome_webapk_host.h

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/webapk/chrome_webapk_host.h
diff --git a/chrome/browser/android/webapk/chrome_webapk_host.h b/chrome/browser/android/webapk/chrome_webapk_host.h
index dc84ea17f89f5962f4a7660446398e731274a249..943e07e025550de723f9bd723f4ec4d93a8fb1f1 100644
--- a/chrome/browser/android/webapk/chrome_webapk_host.h
+++ b/chrome/browser/android/webapk/chrome_webapk_host.h
@@ -16,8 +16,9 @@ class ChromeWebApkHost {
// Registers JNI hooks.
static bool Register(JNIEnv* env);
- // Returns whether the "enalbe-webapk" is turned on.
- static bool AreWebApkEnabled();
+ // Returns whether installing WebApk is possible either from "unknown sources"
+ // or Google Play.
+ static bool CanInstallWebApk();
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeWebApkHost);
« no previous file with comments | « chrome/browser/android/banners/app_banner_manager_android.cc ('k') | chrome/browser/android/webapk/chrome_webapk_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698