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

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

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 1d4e4fc7098e6fcf11bf3f049ef7c322d5407501..f252d3a6dfc650330a7a365ef887019b8aa86e97 100644
--- a/chrome/browser/translate/translate_manager_browsertest.cc
+++ b/chrome/browser/translate/translate_manager_browsertest.cc
@@ -208,7 +208,7 @@ class TranslateManagerBrowserTest : public ChromeRenderViewHostTestHarness,
// The TranslateManager class processes the navigation entry committed
// notification in a posted task; process that task.
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
}
virtual void Observe(int type,
@@ -796,7 +796,7 @@ TEST_F(TranslateManagerBrowserTest, ReloadFromLocationBar) {
// The TranslateManager class processes the navigation entry committed
// notification in a posted task; process that task.
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
EXPECT_TRUE(GetTranslateInfoBar() != NULL);
}
@@ -1442,7 +1442,7 @@ TEST_F(TranslateManagerBrowserTest, ScriptExpires) {
0, 0, "fr", "en", TranslateErrors::NONE));
// A task should have been posted to clear the script, run it.
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
// Do another navigation and translation.
SimulateNavigation(GURL("http://www.google.es"), "es", true);

Powered by Google App Engine
This is Rietveld 408576698