Index: chrome/browser/ui/auto_login_infobar_delegate.cc |
diff --git a/chrome/browser/ui/auto_login_infobar_delegate.cc b/chrome/browser/ui/auto_login_infobar_delegate.cc |
index 523676a431739529ac5d52e121ae5b15fad970e1..ff5ae8cd0538287d1147f80a9854525d240842da 100644 |
--- a/chrome/browser/ui/auto_login_infobar_delegate.cc |
+++ b/chrome/browser/ui/auto_login_infobar_delegate.cc |
@@ -12,7 +12,6 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/google/google_util.h" |
-#include "chrome/browser/infobars/infobar.h" |
#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
@@ -21,6 +20,7 @@ |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
+#include "components/infobars/core/infobar.h" |
#include "components/signin/core/browser/profile_oauth2_token_service.h" |
#include "content/public/browser/navigation_controller.h" |
#include "content/public/browser/page_navigator.h" |
@@ -188,7 +188,8 @@ int AutoLoginInfoBarDelegate::GetIconID() const { |
return IDR_INFOBAR_AUTOLOGIN; |
} |
-InfoBarDelegate::Type AutoLoginInfoBarDelegate::GetInfoBarType() const { |
+infobars::InfoBarDelegate::Type AutoLoginInfoBarDelegate::GetInfoBarType() |
+ const { |
return PAGE_ACTION_TYPE; |
} |