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

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

Issue 1392023004: Rename android only infobars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try again 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 820766bee1e57b90ccdebf765fcad8134cea8705..6dc0b3dbb910caeb217a6a04c3399e4a2751719a 100644
--- a/components/infobars/core/infobar_delegate.cc
+++ b/components/infobars/core/infobar_delegate.cc
@@ -90,10 +90,6 @@ InsecureContentInfoBarDelegate*
return nullptr;
}
-MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() {
- return nullptr;
-}
-
NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() {
return nullptr;
}
@@ -131,6 +127,11 @@ translate::TranslateInfoBarDelegate*
}
#if defined(OS_ANDROID)
+MediaStreamInfoBarDelegateAndroid*
+InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() {
+ return nullptr;
+}
+
MediaThrottleInfoBarDelegate*
InfoBarDelegate::AsMediaThrottleInfoBarDelegate() {
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698