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

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

Issue 2443463003: Remove PermissionInfoBarDelegate from desktop builds. (Closed)
Patch Set: 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..1f4c2dbeed86a8e70de32a1ef904921dd2d80fdf 100644
--- a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h
+++ b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.h
@@ -10,26 +10,16 @@
#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);
+
+ protected:
raymes 2016/10/24 01:00:36 nit: can this be private like the others?
dominickn 2016/10/24 01:42:00 Done.
~ProtectedMediaIdentifierInfoBarDelegateAndroid() override;
private:

Powered by Google App Engine
This is Rietveld 408576698