Index: chrome/browser/android/shortcut_helper.h |
diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h |
index 86c171fae5430c651708bdb678a8e09eadb9264a..43224ba218e50a243c986b7ec01782f681c79711 100644 |
--- a/chrome/browser/android/shortcut_helper.h |
+++ b/chrome/browser/android/shortcut_helper.h |
@@ -96,7 +96,11 @@ class ShortcutHelper { |
const GURL& url, |
bool* is_generated); |
- // Returns true if WebAPKs are enabled and there is a WebAPK installed which |
+ // Returns the package name of the WebAPK if WebAPKs are enabled and there is |
+ // an installed WebAPK which can handle |url|. Returns empty string otherwise. |
+ static std::string QueryWebApkPackage(const GURL& url); |
+ |
+ // Returns true if WebAPKs are enabled and there is an installed WebAPK which |
// can handle |url|. |
static bool IsWebApkInstalled(const GURL& url); |