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

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

Issue 2443463003: Remove PermissionInfoBarDelegate from desktop builds. (Closed)
Patch Set: Add comment explaining lifetime Created 4 years, 2 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 e2da6b016c3fead0a0c523b81beac079219118b9..db8983f6fd194aa614da9c332acabd2fa89645a0 100644
--- a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h
+++ b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h
@@ -10,29 +10,18 @@
#include "base/macros.h"
#include "chrome/browser/permissions/permission_infobar_delegate.h"
-class InfoBarService;
-
class ProtectedMediaIdentifierInfoBarDelegateAndroid
: 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
- // added.
- static infobars::InfoBar* Create(InfoBarService* infobar_service,
- const GURL& requesting_frame,
- bool user_gesture,
- Profile* profile,
- const PermissionSetCallback& callback);
-
- protected:
ProtectedMediaIdentifierInfoBarDelegateAndroid(
const GURL& requesting_frame,
bool user_gesture,
Profile* profile,
const PermissionSetCallback& callback);
- ~ProtectedMediaIdentifierInfoBarDelegateAndroid() override;
private:
+ ~ProtectedMediaIdentifierInfoBarDelegateAndroid() override;
+
// PermissionInfoBarDelegate:
infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
int GetIconId() const override;

Powered by Google App Engine
This is Rietveld 408576698