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

Unified Diff: trunk/src/chrome/browser/media/midi_permission_infobar_delegate.h

Issue 102163002: Revert 238283 "Infobar system refactor." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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: trunk/src/chrome/browser/media/midi_permission_infobar_delegate.h
===================================================================
--- trunk/src/chrome/browser/media/midi_permission_infobar_delegate.h (revision 238401)
+++ trunk/src/chrome/browser/media/midi_permission_infobar_delegate.h (working copy)
@@ -22,16 +22,17 @@
// permission infobars to the user.
class MIDIPermissionInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
- // 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);
+ // 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);
private:
- MIDIPermissionInfoBarDelegate(PermissionQueueController* controller,
+ MIDIPermissionInfoBarDelegate(InfoBarService* infobar_service,
+ PermissionQueueController* controller,
const PermissionRequestID& id,
const GURL& requesting_frame,
int contents_unique_id,

Powered by Google App Engine
This is Rietveld 408576698