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

Unified Diff: chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc

Issue 1520543004: Add method for identifying different InfoBars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit again Created 5 years 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: chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc
diff --git a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc
index ddf049cb48450b03055050cf23ccd804c2fc84b6..8cc0816e9b67b38bd42f051bd5a0fa6b9d5bfe5d 100644
--- a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc
+++ b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc
@@ -41,6 +41,11 @@ ProtectedMediaIdentifierInfoBarDelegateAndroid::
ProtectedMediaIdentifierInfoBarDelegateAndroid::
~ProtectedMediaIdentifierInfoBarDelegateAndroid() {}
+infobars::InfoBarDelegate::InfoBarIdentifier
+ProtectedMediaIdentifierInfoBarDelegateAndroid::GetIdentifier() const {
+ return PROTECTED_MEDIA_IDENTIFIER_INFOBAR_DELEGATE_ANDROID;
+}
+
int ProtectedMediaIdentifierInfoBarDelegateAndroid::GetIconId() const {
return IDR_ANDROID_INFOBAR_PROTECTED_MEDIA_IDENTIFIER;
}

Powered by Google App Engine
This is Rietveld 408576698