Index: chrome/browser/autofill/autofill_interactive_uitest.cc |
diff --git a/chrome/browser/autofill/autofill_interactive_uitest.cc b/chrome/browser/autofill/autofill_interactive_uitest.cc |
index 400c02dd54a043c75170523ac39b086c2c5e9fdf..e0cf3fb9cfa5d23868035b6680b5de63c9e6f0c5 100644 |
--- a/chrome/browser/autofill/autofill_interactive_uitest.cc |
+++ b/chrome/browser/autofill/autofill_interactive_uitest.cc |
@@ -37,6 +37,7 @@ |
#include "components/autofill/core/browser/validation.h" |
#include "components/infobars/core/infobar.h" |
#include "components/translate/core/browser/translate_infobar_delegate.h" |
+#include "components/translate/core/browser/translate_manager.h" |
#include "content/public/browser/navigation_controller.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
@@ -1056,6 +1057,8 @@ IN_PROC_BROWSER_TEST_F(AutofillInteractiveTest, AutofillAfterTranslate) { |
if (TranslateService::IsTranslateBubbleEnabled()) |
return; |
+ translate::TranslateManager::SetIgnoreMissingKeyForTesting(true); |
+ |
CreateTestProfile(); |
GURL url(std::string(kDataURIPrefix) + |