Index: chrome/browser/policy/policy_browsertest.cc |
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc |
index ea59a6d48b26cbc903888e8e0d7e6e3538838fe1..3f7d89367f59e74173b14ae5dc9c273ce893ff1d 100644 |
--- a/chrome/browser/policy/policy_browsertest.cc |
+++ b/chrome/browser/policy/policy_browsertest.cc |
@@ -1906,7 +1906,8 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, DISABLED_TranslateEnabled) { |
ChromeTranslateClient* chrome_translate_client = |
ChromeTranslateClient::FromWebContents(contents); |
ASSERT_TRUE(chrome_translate_client); |
- LanguageState& language_state = chrome_translate_client->GetLanguageState(); |
+ translate::LanguageState& language_state = |
+ chrome_translate_client->GetLanguageState(); |
EXPECT_EQ("fr", language_state.original_language()); |
EXPECT_TRUE(language_state.page_needs_translation()); |
EXPECT_FALSE(language_state.translation_pending()); |
@@ -1916,7 +1917,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, DISABLED_TranslateEnabled) { |
// Verify that the translate infobar showed up. |
ASSERT_EQ(1u, infobar_service->infobar_count()); |
infobars::InfoBar* infobar = infobar_service->infobar_at(0); |
- TranslateInfoBarDelegate* translate_infobar_delegate = |
+ translate::TranslateInfoBarDelegate* translate_infobar_delegate = |
infobar->delegate()->AsTranslateInfoBarDelegate(); |
ASSERT_TRUE(translate_infobar_delegate); |
EXPECT_EQ(translate::TRANSLATE_STEP_BEFORE_TRANSLATE, |