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

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: 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..776b8726911c56c3e5b65bec26a3e96e17e77e69 100644
--- a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h
+++ b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h
@@ -8,12 +8,12 @@
#include <string>
#include "base/macros.h"
-#include "chrome/browser/permissions/permission_infobar_delegate.h"
+#include "chrome/browser/permissions/single_permission_infobar_delegate.h"
class InfoBarService;
class ProtectedMediaIdentifierInfoBarDelegateAndroid
- : public PermissionInfobarDelegate {
+ : public SinglePermissionInfoBarDelegate {
public:
// Creates a protected media identifier infobar and delegate and adds the
// infobar to |infobar_service|. Returns the infobar if it was successfully
@@ -40,8 +40,6 @@ class ProtectedMediaIdentifierInfoBarDelegateAndroid
base::string16 GetLinkText() const override;
GURL GetLinkURL() const override;
- GURL requesting_frame_;
-
DISALLOW_COPY_AND_ASSIGN(ProtectedMediaIdentifierInfoBarDelegateAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698