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

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

Issue 2676863002: Update WebApkInstaller to support badge icon in installation. (Closed)
Patch Set: Revert git cl format Created 3 years, 10 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.cc
diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
index e72c483fb30b1c6f8a8e07007bb3b81754eb8844..7b1a2e701b42ed8db1a35581603c8e2364ef4ad5 100644
--- a/chrome/browser/android/shortcut_helper.cc
+++ b/chrome/browser/android/shortcut_helper.cc
@@ -86,10 +86,11 @@ void ShortcutHelper::AddToLauncherWithSkBitmap(
void ShortcutHelper::InstallWebApkWithSkBitmap(
content::BrowserContext* browser_context,
const ShortcutInfo& info,
- const SkBitmap& icon_bitmap,
+ const SkBitmap& primary_icon_bitmap,
+ const SkBitmap& badge_icon_bitmap,
const WebApkInstaller::FinishCallback& callback) {
WebApkInstallService::Get(browser_context)
- ->InstallAsync(info, icon_bitmap, callback);
+ ->InstallAsync(info, primary_icon_bitmap, badge_icon_bitmap, callback);
}
// static

Powered by Google App Engine
This is Rietveld 408576698