Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1453)

Unified Diff: chrome/browser/autofill/autofill_interactive_uitest.cc

Issue 325483003: Remove unused Views Translate InfoBar code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove test-only infobar toggle; no-op tests for incompatible UX. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1e0092b24fd1496d9fd91cd4f1c33f62a5d446a4..7b20b1be7c38235fe25bb915012fec4c41a458b0 100644
--- a/chrome/browser/autofill/autofill_interactive_uitest.cc
+++ b/chrome/browser/autofill/autofill_interactive_uitest.cc
@@ -202,8 +202,6 @@ class AutofillInteractiveTest : public InProcessBrowserTest {
// InProcessBrowserTest:
virtual void SetUpOnMainThread() OVERRIDE {
- TranslateService::SetUseInfobar(true);
-
// Don't want Keychain coming up on Mac.
test::DisableSystemServices(browser()->profile()->GetPrefs());
@@ -928,6 +926,10 @@ IN_PROC_BROWSER_TEST_F(AutofillInteractiveTest, AutofillAfterReload) {
}
IN_PROC_BROWSER_TEST_F(AutofillInteractiveTest, AutofillAfterTranslate) {
+ // This test only applies to the infobar translate UX, not the new bubble UX.
+ if (TranslateService::IsTranslateBubbleEnabled())
+ return;
+
CreateTestProfile();
GURL url(std::string(kDataURIPrefix) +
« no previous file with comments | « no previous file | chrome/browser/policy/policy_browsertest.cc » ('j') | chrome/browser/policy/policy_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698