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

Unified Diff: chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc

Issue 14307023: chrome: Use base::MessageLoop. (Part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/ui/toolbar/back_forward_menu_model_unittest.cc
diff --git a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
index c581fd392d8ec7fa88552df20d2ce2385d977f42..c76eb6a2791f5364fcae1d291b10dfdd9321508a 100644
--- a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
@@ -49,7 +49,7 @@ class FaviconDelegate : public ui::MenuModelDelegate {
virtual void OnIconChanged(int model_index) OVERRIDE {
was_called_ = true;
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
bool was_called() const { return was_called_; }
@@ -544,7 +544,7 @@ TEST_F(BackFwdMenuModelTest, FaviconLoadTest) {
// Make the favicon service run GetFavIconForURL,
// FaviconDelegate.OnIconChanged will be called.
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
// Verify that the callback executed.
EXPECT_TRUE(favicon_delegate.was_called());
« no previous file with comments | « chrome/browser/ui/tabs/tab_audio_indicator_unittest.cc ('k') | chrome/browser/ui/toolbar/encoding_menu_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698