| Index: components/infobars/core/infobar_delegate.h
|
| diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
|
| index 10cb34cfd31f5ccb171ab295011c36880b07de41..22a9d8901b2f87068f8422ecf14c69ba4429da8a 100644
|
| --- a/components/infobars/core/infobar_delegate.h
|
| +++ b/components/infobars/core/infobar_delegate.h
|
| @@ -20,6 +20,14 @@ class ScreenCaptureInfoBarDelegate;
|
| class ThemeInstalledInfoBarDelegate;
|
| class ThreeDAPIInfoBarDelegate;
|
|
|
| +#if defined(OS_ANDROID)
|
| +namespace chrome {
|
| +namespace android {
|
| +class DownloadOverwriteInfoBarDelegate;
|
| +}
|
| +}
|
| +#endif
|
| +
|
| namespace translate {
|
| class TranslateInfoBarDelegate;
|
| }
|
| @@ -116,6 +124,11 @@ class InfoBarDelegate {
|
| virtual ThemeInstalledInfoBarDelegate* AsThemePreviewInfobarDelegate();
|
| virtual translate::TranslateInfoBarDelegate* AsTranslateInfoBarDelegate();
|
|
|
| +#if defined(OS_ANDROID)
|
| + virtual chrome::android::DownloadOverwriteInfoBarDelegate*
|
| + AsDownloadOverwriteInfoBarDelegate();
|
| +#endif
|
| +
|
| void set_infobar(InfoBar* infobar) { infobar_ = infobar; }
|
|
|
| // Store the unique id for the active entry, to be used later upon navigation
|
|
|