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

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: Update comments, add early return for PolicyTest.DISABLED_TranslateEnabled. 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..2ce92afc94ad8a8e5266e0b5c6fa4f6d050e5793 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) {
+ // TODO(port): Test corresponding bubble translate UX: http://crbug.com/383235
+ if (TranslateService::IsTranslateBubbleEnabled())
+ return;
+
CreateTestProfile();
GURL url(std::string(kDataURIPrefix) +

Powered by Google App Engine
This is Rietveld 408576698