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

Unified Diff: chrome/browser/policy/policy_browsertest.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/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 7c4cd29ae497de0d9efe961b09c4194ccc26dc84..d76add258c42d19a137a2d0914e8d291010c638a 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -1864,9 +1864,12 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, SavingBrowserHistoryDisabled) {
// http://crbug.com/241691 PolicyTest.TranslateEnabled is failing regularly.
IN_PROC_BROWSER_TEST_F(PolicyTest, DISABLED_TranslateEnabled) {
+ // TODO(port): Test corresponding bubble translate UX: http://crbug.com/383235
+ if (TranslateService::IsTranslateBubbleEnabled())
+ return;
+
test::ScopedCLDDynamicDataHarness dynamic_data_scope;
ASSERT_NO_FATAL_FAILURE(dynamic_data_scope.Init());
- TranslateService::SetUseInfobar(true);
// Verifies that translate can be forced enabled or disabled by policy.

Powered by Google App Engine
This is Rietveld 408576698