| 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 02a8d07b4961c84442a3efc2962a71919f3363ea..87295a1a1c63b20d79bc5e0a88aa2dd58e60be7e 100644
|
| --- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
|
| +++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
|
| @@ -39,14 +39,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|.
|
| @@ -93,15 +93,15 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
|
| };
|
|
|
| // Delegate for promoting a web app.
|
| - AppBannerInfoBarDelegateAndroid(
|
| - base::WeakPtr<AppBannerManager> weak_manager,
|
| - const base::string16& app_title,
|
| - std::unique_ptr<ShortcutInfo> info,
|
| - std::unique_ptr<SkBitmap> icon,
|
| - int event_request_id,
|
| - bool is_webapk,
|
| - bool is_webapk_already_installed,
|
| - webapk::InstallSource webapk_install_source);
|
| + AppBannerInfoBarDelegateAndroid(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,
|
| + bool is_webapk,
|
| + bool is_webapk_already_installed,
|
| + webapk::InstallSource webapk_install_source);
|
|
|
| // Delegate for promoting an Android app.
|
| AppBannerInfoBarDelegateAndroid(
|
| @@ -147,7 +147,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_;
|
|
|