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

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

Issue 2250053002: Clean up the PermissionInfoBarDelegate hierarchy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-infobar-remember-decision
Patch Set: Created 4 years, 4 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_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 53f7fc5b970f4e9c95e8231fc6ae804495e32358..51e4f88aa53eac9edd97568560e6ab0bc4a915c5 100644
--- a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc
+++ b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc
@@ -20,7 +20,7 @@ infobars::InfoBar* ProtectedMediaIdentifierInfoBarDelegateAndroid::Create(
Profile* profile,
const PermissionSetCallback& callback) {
return infobar_service->AddInfoBar(
- CreatePermissionInfoBar(std::unique_ptr<PermissionInfobarDelegate>(
+ CreatePermissionInfoBar(std::unique_ptr<PermissionInfoBarDelegate>(
new ProtectedMediaIdentifierInfoBarDelegateAndroid(
requesting_frame, user_gesture, profile, callback))));
}
@@ -31,14 +31,13 @@ ProtectedMediaIdentifierInfoBarDelegateAndroid::
bool user_gesture,
Profile* profile,
const PermissionSetCallback& callback)
- : PermissionInfobarDelegate(
+ : PermissionInfoBarDelegate(
requesting_frame,
content::PermissionType::PROTECTED_MEDIA_IDENTIFIER,
CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER,
user_gesture,
profile,
- callback),
- requesting_frame_(requesting_frame) {}
+ callback) {}
ProtectedMediaIdentifierInfoBarDelegateAndroid::
~ProtectedMediaIdentifierInfoBarDelegateAndroid() {}

Powered by Google App Engine
This is Rietveld 408576698