Index: components/infobars/core/infobar_delegate.cc |
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc |
index 65646f93618dc62b74ac26b77ff1b272d33eaf03..1a47609670adac139593910e9b0218d91d6ef5d0 100644 |
--- a/components/infobars/core/infobar_delegate.cc |
+++ b/components/infobars/core/infobar_delegate.cc |
@@ -36,10 +36,6 @@ bool InfoBarDelegate::ShouldExpire(const NavigationDetails& details) const { |
void InfoBarDelegate::InfoBarDismissed() { |
} |
-int InfoBarDelegate::GetIconID() const { |
- return kNoIconID; |
-} |
- |
InfoBarDelegate::Type InfoBarDelegate::GetInfoBarType() const { |
return WARNING_TYPE; |
} |
@@ -88,6 +84,10 @@ ThemeInstalledInfoBarDelegate* |
return nullptr; |
} |
+ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() { |
+ return nullptr; |
+} |
+ |
translate::TranslateInfoBarDelegate* |
InfoBarDelegate::AsTranslateInfoBarDelegate() { |
return nullptr; |
@@ -113,4 +113,8 @@ bool InfoBarDelegate::ShouldExpireInternal( |
return (contents_unique_id_ != details.entry_id) || details.is_reload; |
} |
+int InfoBarDelegate::GetIconID() const { |
+ return kNoIconID; |
+} |
+ |
} // namespace infobars |