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

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: new infobar text per UI review Created 5 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.cc
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc
index b22a6850e5c86c298b2c936113d7dadaf01ec73d..820766bee1e57b90ccdebf765fcad8134cea8705 100644
--- a/components/infobars/core/infobar_delegate.cc
+++ b/components/infobars/core/infobar_delegate.cc
@@ -126,10 +126,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) {
}
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | content/browser/media/android/browser_media_player_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698