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

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: 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/infobars/core/infobar_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar_delegate.h
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
index 774c215c6ec063a9816729175d689ab37c3a1af0..40b73a9a3f130e61f8c865fa91533152781c3e9a 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; }
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/infobars/core/infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698