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

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

Issue 2250053002: Clean up the PermissionInfoBarDelegate hierarchy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-infobar-remember-decision
Patch Set: Address comments 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.h
diff --git a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h
index 908ebdbe793f346e7099f4222875e5f796f01d83..e2da6b016c3fead0a0c523b81beac079219118b9 100644
--- a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h
+++ b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h
@@ -13,7 +13,7 @@
class InfoBarService;
class ProtectedMediaIdentifierInfoBarDelegateAndroid
- : public PermissionInfobarDelegate {
+ : public PermissionInfoBarDelegate {
public:
// Creates a protected media identifier infobar and delegate and adds the
// infobar to |infobar_service|. Returns the infobar if it was successfully
@@ -33,14 +33,12 @@ class ProtectedMediaIdentifierInfoBarDelegateAndroid
~ProtectedMediaIdentifierInfoBarDelegateAndroid() override;
private:
- // ConfirmInfoBarDelegate:
+ // PermissionInfoBarDelegate:
infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
int GetIconId() const override;
- int GetMessageResourceId() const override;
base::string16 GetLinkText() const override;
GURL GetLinkURL() const override;
-
- GURL requesting_frame_;
+ int GetMessageResourceId() const override;
DISALLOW_COPY_AND_ASSIGN(ProtectedMediaIdentifierInfoBarDelegateAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698