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

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

Issue 1372203002: Throttle media decoding after excessive Android media server crashes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 5 years, 3 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.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) {
}

Powered by Google App Engine
This is Rietveld 408576698