Index: components/infobars/core/infobar_delegate.cc |
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc |
index 9651dd3eed3004907c33c27d80bb0dc245a7609b..67e10d4b59386e48f28ee446eda7eb74b1247f77 100644 |
--- a/components/infobars/core/infobar_delegate.cc |
+++ b/components/infobars/core/infobar_delegate.cc |
@@ -131,10 +131,17 @@ ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() { |
} |
translate::TranslateInfoBarDelegate* |
-InfoBarDelegate::AsTranslateInfoBarDelegate() { |
+ InfoBarDelegate::AsTranslateInfoBarDelegate() { |
return nullptr; |
} |
+#if defined(OS_ANDROID) |
+MediaThrottleInfoBarDelegate* |
+ InfoBarDelegate::AsMediaThrottleInfoBarDelegate() { |
+ return nullptr; |
+} |
+#endif |
+ |
InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { |
} |