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

Unified Diff: chrome/browser/ui/browser_browsertest.cc

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/ui/browser_browsertest.cc
diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc
index ec906052132726856552c376eee3ed701d93365d..d3224c40a2eb863a3733089fcae2693fa3ebeb2a 100644
--- a/chrome/browser/ui/browser_browsertest.cc
+++ b/chrome/browser/ui/browser_browsertest.cc
@@ -1411,7 +1411,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, PageLanguageDetection) {
ASSERT_NO_FATAL_FAILURE(cld_data_harness->Init());
ASSERT_TRUE(test_server()->Start());
- LanguageDetectionDetails details;
+ translate::LanguageDetectionDetails details;
// Open a new tab with a page in English.
AddTabAtIndex(0, GURL(test_server()->GetURL("files/english_page.html")),
@@ -1424,7 +1424,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, PageLanguageDetection) {
content::Source<WebContents> source(current_web_contents);
ui_test_utils::WindowedNotificationObserverWithDetails<
- LanguageDetectionDetails>
+ translate::LanguageDetectionDetails>
en_language_detected_signal(chrome::NOTIFICATION_TAB_LANGUAGE_DETERMINED,
source);
EXPECT_EQ("",
@@ -1438,7 +1438,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, PageLanguageDetection) {
// Now navigate to a page in French.
ui_test_utils::WindowedNotificationObserverWithDetails<
- LanguageDetectionDetails>
+ translate::LanguageDetectionDetails>
fr_language_detected_signal(chrome::NOTIFICATION_TAB_LANGUAGE_DETERMINED,
source);
ui_test_utils::NavigateToURL(

Powered by Google App Engine
This is Rietveld 408576698