Index: chrome/browser/policy/policy_browsertest.cc |
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc |
index e621aeec4f4427d62f28895ab05affbc1279f21d..8433895c1ce49eafa3142a9f6174b9d7ccee2267 100644 |
--- a/chrome/browser/policy/policy_browsertest.cc |
+++ b/chrome/browser/policy/policy_browsertest.cc |
@@ -39,7 +39,6 @@ |
#include "chrome/browser/extensions/unpacked_installer.h" |
#include "chrome/browser/extensions/updater/extension_cache_fake.h" |
#include "chrome/browser/extensions/updater/extension_updater.h" |
-#include "chrome/browser/infobars/infobar.h" |
#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/browser/media/media_capture_devices_dispatcher.h" |
#include "chrome/browser/media/media_stream_devices_controller.h" |
@@ -81,6 +80,7 @@ |
#include "chrome/test/base/in_process_browser_test.h" |
#include "chrome/test/base/test_switches.h" |
#include "chrome/test/base/ui_test_utils.h" |
+#include "components/infobars/core/infobar.h" |
#include "components/policy/core/browser/browser_policy_connector.h" |
#include "components/policy/core/common/external_data_fetcher.h" |
#include "components/policy/core/common/mock_configuration_policy_provider.h" |
@@ -1910,7 +1910,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, DISABLED_TranslateEnabled) { |
// Verify that the translate infobar showed up. |
ASSERT_EQ(1u, infobar_service->infobar_count()); |
- InfoBar* infobar = infobar_service->infobar_at(0); |
+ infobars::InfoBar* infobar = infobar_service->infobar_at(0); |
TranslateInfoBarDelegate* translate_infobar_delegate = |
infobar->delegate()->AsTranslateInfoBarDelegate(); |
ASSERT_TRUE(translate_infobar_delegate); |