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

Unified Diff: chrome/browser/translate/translate_manager_render_view_host_unittest.cc

Issue 2714773002: Disable TranslateManagerRenderViewHostTest.NormalTranslate with PlzNavigate. (Closed)
Patch Set: just disable Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/translate/translate_manager_render_view_host_unittest.cc
diff --git a/chrome/browser/translate/translate_manager_render_view_host_unittest.cc b/chrome/browser/translate/translate_manager_render_view_host_unittest.cc
index c929fcada113d3ec8037d6bdcadc174c75a13168..6e7b18d4ccafc483ca86e458ecbf227d925fc426 100644
--- a/chrome/browser/translate/translate_manager_render_view_host_unittest.cc
+++ b/chrome/browser/translate/translate_manager_render_view_host_unittest.cc
@@ -52,6 +52,7 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/common/browser_side_navigation_policy.h"
#include "content/public/common/url_constants.h"
#include "content/public/test/test_renderer_host.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -685,6 +686,10 @@ TEST_F(TranslateManagerRenderViewHostTest, NormalTranslate) {
if (TranslateService::IsTranslateBubbleEnabled())
return;
+ // http://crbug.com/695624
+ if (content::IsBrowserSideNavigationEnabled())
+ return;
+
SimulateNavigation(GURL("http://www.google.fr"), "fr", true);
// We should have an infobar.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698