Index: chrome/browser/android/banners/app_banner_infobar_delegate.h |
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate.h b/chrome/browser/android/banners/app_banner_infobar_delegate.h |
index 5bc2e0a8ec9ccc43bb8a0ebbc69e9d39a58d8158..d08c211b12666197cf3247778bab9acb8eb79096 100644 |
--- a/chrome/browser/android/banners/app_banner_infobar_delegate.h |
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate.h |
@@ -43,6 +43,13 @@ class AppBannerInfoBarDelegate : public ConfirmInfoBarDelegate { |
virtual gfx::Image GetIcon() const = 0; |
}; |
+ // Creates a banner for the current page that promotes a native app. |
+ // May return nullptr if the the infobar couldn't be created. |
+ static AppBannerInfoBar* CreateForNativeApp( |
+ infobars::InfoBarManager* infobar_manager, |
+ AppDelegate* delegate, |
+ const base::android::ScopedJavaGlobalRef<jobject>& japp_data); |
+ |
// Creates a banner for the current page that promotes a web app. |
// May return nullptr if the the infobar couldn't be created. |
static AppBannerInfoBar* CreateForWebApp( |