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

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: rebase again Created 7 years, 7 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 205d9f659ea14a8472004581763ed49a55308e37..1267e2ab92b102d51d2efee016f4735ee9725d59 100644
--- a/chrome/browser/translate/translate_manager_browsertest.cc
+++ b/chrome/browser/translate/translate_manager_browsertest.cc
@@ -212,7 +212,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,
@@ -808,7 +808,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);
}
@@ -1454,7 +1454,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