Chromium Code Reviews
Description[WebAPKs]: Reduce the parameters of ShortcutHelper::AddToLauncherWithSkBitmap()
This CL removes the |webapp_id| and |splash_image_callback| parameters from
ShortcutHelper::AddToLauncherWithSkBitmap(). This CL adds the needed
information to ShortcutInfo so that AddToLauncherWithSkBitmap() can create
the callback itself.
The goal of this CL is to enable
AppBannerInfoBarDelegateAndroid::OnWebApkInstallFinished() to call
ShortcutHelper::AddToLauncherWithSkBitmap() in a subsequent CL.
BUG=696132
Review-Url: https://codereview.chromium.org/2724723002
Cr-Commit-Position: refs/heads/master@{#454080}
Committed: https://chromium.googlesource.com/chromium/src/+/d0d459e8dda997152b63f3fee88a1bf35b323a20
Patch Set 1 #
Total comments: 9
Patch Set 2 : Merge branch 'refactor_shortcut_helper10' into refactor_shortcut_helper2 #Patch Set 3 : Merge branch 'master' into refactor_shortcut_helper2 #Patch Set 4 : Merge branch 'master' into refactor_shortcut_helper2 #Messages
Total messages: 12 (6 generated)
|