| Index: chrome/browser/android/shortcut_helper.h
|
| diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h
|
| index a9c4b88851d25ac85752a6a7e292d7f38585c981..813579834f3a0a47076cd46a60a03cd83b8afb1c 100644
|
| --- a/chrome/browser/android/shortcut_helper.h
|
| +++ b/chrome/browser/android/shortcut_helper.h
|
| @@ -21,6 +21,10 @@ class WebContents;
|
| // ShortcutHelper in Java.
|
| class ShortcutHelper {
|
| public:
|
| + // Called when the package name of the WebAPK to install is available.
|
| + using WebApkPackageNameAvailableCallback = base::Callback<void(
|
| + const std::string& webapk_package)>;
|
| +
|
| // Registers JNI hooks.
|
| static bool RegisterShortcutHelper(JNIEnv* env);
|
|
|
| @@ -39,7 +43,8 @@ class ShortcutHelper {
|
| static void InstallWebApkWithSkBitmap(
|
| content::BrowserContext* browser_context,
|
| const ShortcutInfo& info,
|
| - const SkBitmap& icon_bitmap);
|
| + const SkBitmap& icon_bitmap,
|
| + const WebApkPackageNameAvailableCallback& callback);
|
|
|
| // Adds a shortcut which opens in a fullscreen window to the launcher.
|
| // |splash_image_callback| will be invoked once the Java-side operation has
|
|
|