Index: chrome/browser/android/banners/app_banner_infobar_delegate_android.h |
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h |
index 6083d2b1d6445f1210829eaea9ebda00a2050a92..c7ade4f51f8d8b7f0922aa36fdbf5e3174f7941c 100644 |
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h |
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h |
@@ -40,14 +40,14 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate { |
public: |
// Creates an infobar and delegate for promoting the installation of a web |
// app, and adds the infobar to the InfoBarManager for |web_contents|. |
- static bool Create( |
- content::WebContents* web_contents, |
- base::WeakPtr<AppBannerManager> weak_manager, |
- const base::string16& app_title, |
- std::unique_ptr<ShortcutInfo> info, |
- std::unique_ptr<SkBitmap> icon, |
- int event_request_id, |
- webapk::InstallSource webapk_install_source); |
+ static bool Create(content::WebContents* web_contents, |
+ base::WeakPtr<AppBannerManager> weak_manager, |
+ const base::string16& app_title, |
+ std::unique_ptr<ShortcutInfo> info, |
+ std::unique_ptr<SkBitmap> primary_icon, |
+ std::unique_ptr<SkBitmap> badge_icon, |
+ int event_request_id, |
+ webapk::InstallSource webapk_install_source); |
// Creates an infobar and delegate for promoting the installation of an |
// Android app, and adds the infobar to the InfoBarManager for |web_contents|. |
@@ -98,7 +98,8 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate { |
base::WeakPtr<AppBannerManager> weak_manager, |
const base::string16& app_title, |
std::unique_ptr<ShortcutInfo> info, |
- std::unique_ptr<SkBitmap> icon, |
+ std::unique_ptr<SkBitmap> primary_icon, |
+ std::unique_ptr<SkBitmap> badge_icon, |
int event_request_id, |
bool is_webapk, |
webapk::InstallSource webapk_install_source); |
@@ -152,7 +153,8 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate { |
base::android::ScopedJavaGlobalRef<jobject> native_app_data_; |
- std::unique_ptr<SkBitmap> icon_; |
+ std::unique_ptr<SkBitmap> primary_icon_; |
+ std::unique_ptr<SkBitmap> badge_icon_; |
std::string native_app_package_; |
std::string referrer_; |