Index: chrome/browser/notifications/notification_browsertest.cc |
diff --git a/chrome/browser/notifications/notification_browsertest.cc b/chrome/browser/notifications/notification_browsertest.cc |
index f3d20d2f4f210d7bee6a9eddb7624a06408136df..a29a49844b608841fa6ceb440417ffc64dceb5e9 100644 |
--- a/chrome/browser/notifications/notification_browsertest.cc |
+++ b/chrome/browser/notifications/notification_browsertest.cc |
@@ -16,7 +16,6 @@ |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/infobars/confirm_infobar_delegate.h" |
-#include "chrome/browser/infobars/infobar.h" |
#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/browser/notifications/desktop_notification_service.h" |
#include "chrome/browser/notifications/desktop_notification_service_factory.h" |
@@ -30,6 +29,7 @@ |
#include "chrome/common/content_settings_pattern.h" |
#include "chrome/test/base/in_process_browser_test.h" |
#include "chrome/test/base/ui_test_utils.h" |
+#include "components/infobars/core/infobar.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/notification_types.h" |
@@ -290,8 +290,8 @@ bool NotificationsTest::PerformActionOnInfoBar( |
return false; |
} |
- InfoBar* infobar = infobar_service->infobar_at(infobar_index); |
- InfoBarDelegate* infobar_delegate = infobar->delegate(); |
+ infobars::InfoBar* infobar = infobar_service->infobar_at(infobar_index); |
+ infobars::InfoBarDelegate* infobar_delegate = infobar->delegate(); |
switch (action) { |
case DISMISS: |
infobar_delegate->InfoBarDismissed(); |