Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: components/infobars/core/infobar_delegate.h

Issue 580043002: [Android] Prompt with infobar on filename conflict (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed ted's comments Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698