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

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

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.h
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
index 9d6ba770d2a7fddc1d22cc68b39d3e8a03602830..45bddc757b2f60eba25a3e2f7c056269f90cffd5 100644
--- a/components/infobars/core/infobar_delegate.h
+++ b/components/infobars/core/infobar_delegate.h
@@ -21,6 +21,10 @@ class ScreenCaptureInfoBarDelegate;
class ThemeInstalledInfoBarDelegate;
class ThreeDAPIInfoBarDelegate;
+#if defined(OS_ANDROID)
+class MediaThrottleInfoBarDelegate;
+#endif
+
namespace translate {
class TranslateInfoBarDelegate;
}
@@ -130,6 +134,9 @@ class InfoBarDelegate {
virtual ThemeInstalledInfoBarDelegate* AsThemePreviewInfobarDelegate();
virtual ThreeDAPIInfoBarDelegate* AsThreeDAPIInfoBarDelegate();
virtual translate::TranslateInfoBarDelegate* AsTranslateInfoBarDelegate();
+#if defined(OS_ANDROID)
+ virtual MediaThrottleInfoBarDelegate* AsMediaThrottleInfoBarDelegate();
+#endif
void set_infobar(InfoBar* infobar) { infobar_ = infobar; }
void set_nav_entry_id(int nav_entry_id) { nav_entry_id_ = nav_entry_id; }

Powered by Google App Engine
This is Rietveld 408576698