Index: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc |
diff --git a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc |
index cb80a34dfc55fbc8a0fba7a8f7e26f1d03f43421..3b9df359990d19e6423127e21cd75bdc5999c328 100644 |
--- a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc |
+++ b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc |
@@ -9,9 +9,9 @@ |
#include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
#include "chrome/browser/history/history_service.h" |
#include "chrome/browser/history/history_service_factory.h" |
-#include "chrome/browser/infobars/infobar.h" |
#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "components/infobars/core/infobar.h" |
#include "content/public/browser/web_contents.h" |
#include "grit/generated_resources.h" |
#include "grit/theme_resources.h" |
@@ -40,7 +40,7 @@ AlternateNavInfoBarDelegate::AlternateNavInfoBarDelegate( |
const base::string16& text, |
const AutocompleteMatch& match, |
const GURL& search_url) |
- : InfoBarDelegate(), |
+ : infobars::InfoBarDelegate(), |
profile_(profile), |
text_(text), |
match_(match), |
@@ -96,6 +96,7 @@ int AlternateNavInfoBarDelegate::GetIconID() const { |
return IDR_INFOBAR_ALT_NAV_URL; |
} |
-InfoBarDelegate::Type AlternateNavInfoBarDelegate::GetInfoBarType() const { |
+infobars::InfoBarDelegate::Type AlternateNavInfoBarDelegate::GetInfoBarType() |
+ const { |
return PAGE_ACTION_TYPE; |
} |