Index: chrome/browser/ui/android/infobars/app_banner_infobar.h |
diff --git a/chrome/browser/ui/android/infobars/app_banner_infobar.h b/chrome/browser/ui/android/infobars/app_banner_infobar.h |
index 955b8bd82aa4e19fc7032421faebe819c4b75abf..51c76a825165f5dbb1dd43d5e57be4a930d6f744 100644 |
--- a/chrome/browser/ui/android/infobars/app_banner_infobar.h |
+++ b/chrome/browser/ui/android/infobars/app_banner_infobar.h |
@@ -17,6 +17,11 @@ class AppBannerInfoBarDelegate; |
class AppBannerInfoBar : public ConfirmInfoBar { |
public: |
+ // Constructs an AppBannerInfoBar promoting a native app. |
+ AppBannerInfoBar( |
+ scoped_ptr<banners::AppBannerInfoBarDelegate> delegate, |
+ const base::android::ScopedJavaGlobalRef<jobject>& japp_data); |
+ |
// Constructs an AppBannerInfoBar promoting a web app. |
AppBannerInfoBar( |
scoped_ptr<banners::AppBannerInfoBarDelegate> delegate, |
@@ -29,6 +34,9 @@ class AppBannerInfoBar : public ConfirmInfoBar { |
base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( |
JNIEnv* env) override; |
+ // Native app: Details about the app. |
+ base::android::ScopedJavaGlobalRef<jobject> japp_data_; |
+ |
// Web app: URL for the app. |
GURL app_url_; |