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

Unified Diff: chrome/browser/android/shortcut_helper.h

Issue 2124703003: Do not show "Add to Home Screen" info bar if WebAPK is installed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/shortcut_helper.h
diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h
index d2fabef8b72c53ec86ecc108cbb703b369fd727d..fd8d2d3926af657e331721f340319a90381bd1ef 100644
--- a/chrome/browser/android/shortcut_helper.h
+++ b/chrome/browser/android/shortcut_helper.h
@@ -72,6 +72,9 @@ class ShortcutHelper {
const GURL& url,
bool* is_generated);
+ // Returns whether there is a WebAPK installed which can handle |url|.
+ static bool IsWebApkInstalled(const GURL& url);
+
private:
ShortcutHelper() = delete;
~ShortcutHelper() = delete;

Powered by Google App Engine
This is Rietveld 408576698