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 52c77c1166e29f50679ad5ce4dc132a2dfb40c56..4e17c48343fbe133b4d93e2ecb6749e125522e3b 100644 |
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h |
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h |
@@ -7,6 +7,7 @@ |
#include "base/android/scoped_java_ref.h" |
#include "base/strings/string16.h" |
+#include "chrome/browser/android/banners/app_banner_data_fetcher_android.h" |
#include "components/infobars/core/confirm_infobar_delegate.h" |
#include "content/public/common/manifest.h" |
#include "ui/gfx/image/image.h" |
@@ -30,6 +31,7 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate { |
// Delegate for promoting a web app. |
AppBannerInfoBarDelegateAndroid( |
int event_request_id, |
+ scoped_refptr<AppBannerDataFetcherAndroid> data_fetcher, |
const base::string16& app_title, |
SkBitmap* app_icon, |
const content::Manifest& web_app_data); |
@@ -74,6 +76,9 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate { |
base::android::ScopedJavaGlobalRef<jobject> java_delegate_; |
+ // Used to fetch the splash screen icon for webapps. |
+ scoped_refptr<AppBannerDataFetcherAndroid> data_fetcher_; |
+ |
base::string16 app_title_; |
scoped_ptr<SkBitmap> app_icon_; |