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

Unified Diff: chrome/browser/media/midi_permission_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/midi_permission_infobar_delegate_android.h
diff --git a/chrome/browser/media/midi_permission_infobar_delegate_android.h b/chrome/browser/media/midi_permission_infobar_delegate_android.h
index f78d9286fa463e59a6ceffdf954a42152496c1c5..0eac2db87307763fa1fbe564f981cb6edcf1253a 100644
--- a/chrome/browser/media/midi_permission_infobar_delegate_android.h
+++ b/chrome/browser/media/midi_permission_infobar_delegate_android.h
@@ -10,27 +10,17 @@
#include "base/macros.h"
#include "chrome/browser/permissions/permission_infobar_delegate.h"
-class GURL;
-class InfoBarService;
-
// MidiPermissionInfoBarDelegateAndroids are created by the
// MidiPermissionContext to control the display and handling of MIDI permission
// infobars to the user.
class MidiPermissionInfoBarDelegateAndroid : public PermissionInfoBarDelegate {
public:
- // Creates a MIDI permission 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);
-
- private:
MidiPermissionInfoBarDelegateAndroid(const GURL& requesting_frame,
bool user_gesture,
Profile* profile,
const PermissionSetCallback& callback);
+
+ private:
~MidiPermissionInfoBarDelegateAndroid() override;
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698