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

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

Issue 2363183002: Skip installation process if WebAPK is already installed. (Closed)
Patch Set: Created 4 years, 3 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 86c171fae5430c651708bdb678a8e09eadb9264a..855bf7ed5715b4cfb19f2226edf08b79fb7f0491 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
pkotwicz 2016/09/29 14:18:54 Nit: WebAPKS -> WebAPKs
F 2016/09/30 18:02:02 Done.
+ // 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);

Powered by Google App Engine
This is Rietveld 408576698