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

Unified Diff: chrome/browser/translate/translate_manager_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/translate/translate_manager_browsertest.cc
diff --git a/chrome/browser/translate/translate_manager_browsertest.cc b/chrome/browser/translate/translate_manager_browsertest.cc
index f48dd2aa59a7b50eeb8772566c5167f02d582a9c..ccf32c511336693c0503b33f6160bc9ec5fdb3ed 100644
--- a/chrome/browser/translate/translate_manager_browsertest.cc
+++ b/chrome/browser/translate/translate_manager_browsertest.cc
@@ -41,7 +41,7 @@ IN_PROC_BROWSER_TEST_F(TranslateManagerBrowserTest,
content::Source<content::WebContents> source(current_web_contents);
ui_test_utils::WindowedNotificationObserverWithDetails<
- LanguageDetectionDetails>
+ translate::LanguageDetectionDetails>
fr_language_detected_signal(chrome::NOTIFICATION_TAB_LANGUAGE_DETERMINED,
source);
@@ -49,7 +49,7 @@ IN_PROC_BROWSER_TEST_F(TranslateManagerBrowserTest,
base::FilePath(), base::FilePath(FILE_PATH_LITERAL("french_page.html")));
ui_test_utils::NavigateToURL(browser(), french_url);
fr_language_detected_signal.Wait();
- LanguageDetectionDetails details;
+ translate::LanguageDetectionDetails details;
EXPECT_TRUE(fr_language_detected_signal.GetDetailsFor(
source.map_key(), &details));
EXPECT_EQ("fr", details.adopted_language);
@@ -72,7 +72,7 @@ IN_PROC_BROWSER_TEST_F(TranslateManagerBrowserTest,
content::Source<content::WebContents> source(current_web_contents);
ui_test_utils::WindowedNotificationObserverWithDetails<
- LanguageDetectionDetails>
+ translate::LanguageDetectionDetails>
fr_language_detected_signal(chrome::NOTIFICATION_TAB_LANGUAGE_DETERMINED,
source);
fr_language_detected_signal.Wait();

Powered by Google App Engine
This is Rietveld 408576698