| Index: chrome/browser/media/midi_permission_infobar_delegate.h
|
| ===================================================================
|
| --- chrome/browser/media/midi_permission_infobar_delegate.h (revision 226624)
|
| +++ chrome/browser/media/midi_permission_infobar_delegate.h (working copy)
|
| @@ -22,22 +22,22 @@
|
| // permission infobars to the user.
|
| class MIDIPermissionInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| public:
|
| - // Creates a MIDI permission infobar delegate and adds it to
|
| - // |infobar_service|. Returns the delegate if it was successfully added.
|
| - static InfoBarDelegate* Create(InfoBarService* infobar_service,
|
| - PermissionQueueController* controller,
|
| - const PermissionRequestID& id,
|
| - const GURL& requesting_frame,
|
| - const std::string& display_languages);
|
| + // Creates a MIDI permission infobar and delegate and adds the infobar to
|
| + // |infobar_service|. Returns the infobar if it was successfully added.
|
| + static InfoBar* Create(InfoBarService* infobar_service,
|
| + PermissionQueueController* controller,
|
| + const PermissionRequestID& id,
|
| + const GURL& requesting_frame,
|
| + const std::string& display_languages);
|
|
|
| - protected:
|
| - MIDIPermissionInfoBarDelegate(InfoBarService* infobar_service,
|
| - PermissionQueueController* controller,
|
| + private:
|
| + MIDIPermissionInfoBarDelegate(PermissionQueueController* controller,
|
| const PermissionRequestID& id,
|
| const GURL& requesting_frame,
|
| + int contents_unique_id,
|
| const std::string& display_languages);
|
| + virtual ~MIDIPermissionInfoBarDelegate();
|
|
|
| - private:
|
| // ConfirmInfoBarDelegate:
|
| virtual void InfoBarDismissed() OVERRIDE;
|
| virtual int GetIconID() const OVERRIDE;
|
| @@ -49,7 +49,7 @@
|
| virtual bool Accept() OVERRIDE;
|
| virtual bool Cancel() OVERRIDE;
|
|
|
| - // Callback to the controller to inform of the user's decision.
|
| + // Calls back to the controller to inform it of the user's decision.
|
| void SetPermission(bool update_content_setting, bool allowed);
|
|
|
| private:
|
|
|