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 51c76a825165f5dbb1dd43d5e57be4a930d6f744..6845a3c9f0b42aabece8002a131ac0d73735800d 100644 |
--- a/chrome/browser/ui/android/infobars/app_banner_infobar.h |
+++ b/chrome/browser/ui/android/infobars/app_banner_infobar.h |
@@ -29,6 +29,11 @@ class AppBannerInfoBar : public ConfirmInfoBar { |
~AppBannerInfoBar() override; |
+ // Called when the installation state of the app may have changed. |
+ // Updates the InfoBar visuals to match the new state and re-enables controls |
+ // that may have been disabled. |
+ void OnInstallStateChanged(int new_state); |
+ |
private: |
// InfoBarAndroid overrides. |
base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( |