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

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

Issue 922953002: Minor infobar cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 5 years, 10 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: chrome/browser/media/protected_media_identifier_infobar_delegate.cc
diff --git a/chrome/browser/media/protected_media_identifier_infobar_delegate.cc b/chrome/browser/media/protected_media_identifier_infobar_delegate.cc
index 673fd1790e4faece1db64f8c9e148ffc5afa82f3..33af2ddacc4c8dffcda42d8e0d5d40cea8c0d5ba 100644
--- a/chrome/browser/media/protected_media_identifier_infobar_delegate.cc
+++ b/chrome/browser/media/protected_media_identifier_infobar_delegate.cc
@@ -74,17 +74,17 @@ void ProtectedMediaIdentifierInfoBarDelegate::SetPermission(
update_content_setting, allowed);
}
-void ProtectedMediaIdentifierInfoBarDelegate::InfoBarDismissed() {
- SetPermission(false, false);
+infobars::InfoBarDelegate::Type
+ProtectedMediaIdentifierInfoBarDelegate::GetInfoBarType() const {
+ return PAGE_ACTION_TYPE;
}
int ProtectedMediaIdentifierInfoBarDelegate::GetIconID() const {
return IDR_INFOBAR_PROTECTED_MEDIA_IDENTIFIER;
}
-infobars::InfoBarDelegate::Type
-ProtectedMediaIdentifierInfoBarDelegate::GetInfoBarType() const {
- return PAGE_ACTION_TYPE;
+void ProtectedMediaIdentifierInfoBarDelegate::InfoBarDismissed() {
+ SetPermission(false, false);
}
bool ProtectedMediaIdentifierInfoBarDelegate::ShouldExpireInternal(

Powered by Google App Engine
This is Rietveld 408576698