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

Unified Diff: chrome/browser/history/shortcuts_backend_unittest.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/history/shortcuts_backend_unittest.cc
diff --git a/chrome/browser/history/shortcuts_backend_unittest.cc b/chrome/browser/history/shortcuts_backend_unittest.cc
index 7cf24c4552d70977738712696b48bd4f89416695..df35d9a690a47040aaf5b7e6d347b7c82c1526e4 100644
--- a/chrome/browser/history/shortcuts_backend_unittest.cc
+++ b/chrome/browser/history/shortcuts_backend_unittest.cc
@@ -43,7 +43,7 @@ class ShortcutsBackendTest : public testing::Test,
TestingProfile profile_;
scoped_refptr<ShortcutsBackend> backend_;
- MessageLoopForUI ui_message_loop_;
+ base::MessageLoopForUI ui_message_loop_;
content::TestBrowserThread ui_thread_;
content::TestBrowserThread db_thread_;
@@ -67,7 +67,7 @@ void ShortcutsBackendTest::TearDown() {
void ShortcutsBackendTest::OnShortcutsLoaded() {
load_notified_ = true;
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
void ShortcutsBackendTest::OnShortcutsChanged() {
@@ -79,7 +79,7 @@ void ShortcutsBackendTest::InitBackend() {
ASSERT_TRUE(backend);
ASSERT_FALSE(load_notified_);
ASSERT_FALSE(backend_->initialized());
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
EXPECT_TRUE(load_notified_);
EXPECT_TRUE(backend_->initialized());
}

Powered by Google App Engine
This is Rietveld 408576698