Index: chrome/browser/media/midi_permission_infobar_delegate.cc |
diff --git a/chrome/browser/media/midi_permission_infobar_delegate.cc b/chrome/browser/media/midi_permission_infobar_delegate.cc |
index 28fd7a8c642de0fdc77ac75bd56beb9f44b5cfbf..e5339b46e721cb01d29c4eaf9340910923c145eb 100644 |
--- a/chrome/browser/media/midi_permission_infobar_delegate.cc |
+++ b/chrome/browser/media/midi_permission_infobar_delegate.cc |
@@ -6,8 +6,8 @@ |
#include "chrome/browser/content_settings/permission_queue_controller.h" |
#include "chrome/browser/content_settings/permission_request_id.h" |
-#include "chrome/browser/infobars/infobar.h" |
#include "chrome/browser/infobars/infobar_service.h" |
+#include "components/infobars/core/infobar.h" |
#include "content/public/browser/navigation_entry.h" |
#include "content/public/browser/web_contents.h" |
#include "grit/generated_resources.h" |
@@ -17,7 +17,7 @@ |
#include "ui/base/l10n/l10n_util.h" |
// static |
-InfoBar* MidiPermissionInfoBarDelegate::Create( |
+infobars::InfoBar* MidiPermissionInfoBarDelegate::Create( |
InfoBarService* infobar_service, |
PermissionQueueController* controller, |
const PermissionRequestID& id, |
@@ -57,7 +57,8 @@ int MidiPermissionInfoBarDelegate::GetIconID() const { |
return IDR_INFOBAR_MIDI; |
} |
-InfoBarDelegate::Type MidiPermissionInfoBarDelegate::GetInfoBarType() const { |
+infobars::InfoBarDelegate::Type MidiPermissionInfoBarDelegate::GetInfoBarType() |
+ const { |
return PAGE_ACTION_TYPE; |
} |